Skip to content

Commit 7e1a7b7

Browse files
committed
minor symfony#35297 Improve upgrading instructions for deprecated router options (flack)
This PR was merged into the 4.4 branch. Discussion ---------- Improve upgrading instructions for deprecated router options See symfony#30249 (comment) | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | symfony#30249 | License | MIT | Doc PR | Commits ------- 2cc7083 Improve upgrading instructions for deprecated router options
2 parents 36e6cea + 2cc7083 commit 7e1a7b7

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)