From 2cc708341e0156e34ef32bfc0fa7be36fe96ede9 Mon Sep 17 00:00:00 2001 From: flack Date: Fri, 10 Jan 2020 11:36:38 +0100 Subject: [PATCH] Improve upgrading instructions for deprecated router options See https://github.com/symfony/symfony/pull/30249#issuecomment-572976926 --- UPGRADE-5.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UPGRADE-5.0.md b/UPGRADE-5.0.md index c25b547e21..00c46aea19 100644 --- a/UPGRADE-5.0.md +++ b/UPGRADE-5.0.md @@ -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.