Improve upgrading instructions for deprecated router options

See https://github.com/symfony/symfony/pull/30249#issuecomment-572976926
This commit is contained in:
flack 2020-01-10 11:36:38 +01:00
parent d68a4b0e2e
commit 2cc708341e
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ Routing
-------
* The `generator_base_class`, `generator_cache_class`, `matcher_base_class`, and `matcher_cache_class` router
options have been removed.
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.
* `Serializable` implementing methods for `Route` and `CompiledRoute` are final.
Instead of overwriting them, use `__serialize` and `__unserialize` as extension points which are forward compatible
with the new serialization methods in PHP 7.4.