8000 Improve upgrading instructions for deprecated router options · flack/symfony@ff7cb8e · GitHub
[go: up one dir, main page]

Skip to content

Commit ff7cb8e

Browse files
authored
Improve upgrading instructions for deprecated router options
See symfony#30249 (comment)
1 parent d8bb14c commit ff7cb8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UPGRADE-5.0.md

Lines changed: 1 addition & 1 deletion
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