Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2cc7083

Browse filesBrowse files
committed
Improve upgrading instructions for deprecated router options
See #30249 (comment)
1 parent d68a4b0 commit 2cc7083
Copy full SHA for 2cc7083

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎UPGRADE-5.0.md‎

Copy file name to clipboardExpand all lines: UPGRADE-5.0.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ Routing
393393
-------
394394

395395
* The `generator_base_class`, `generator_cache_class`, `matcher_base_class`, and `matcher_cache_class` router
396-
options have been removed.
396+
options have been removed. If you are using multiple Router instances and need separate caches for them, set a unique `cache_dir` per Router instance instead.
397397
* `Serializable` implementing methods for `Route` and `CompiledRoute` are final.
398398
Instead of overwriting them, use `__serialize` and `__unserialize` as extension points which are forward compatible
399399
with the new serialization methods in PHP 7.4.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.