Closed
Description
Description
Here is one use case for the feature that was postponed in #53059. Opening as a new issue so it does not get lost in the already-closed issue. We can close this one here once #53059 is re-opened.
The use case is that it may be necessary to work with different sets of routes during functional tests. The Router
keeps the routes in a private static $cache
property, which makes it impossible to change the routes once one set has been loaded.
Setting $cache_dir
to null
disables the part of the code where routes are dumped to a cache file and the results of that file are loaded into the ::$cache
property.
Example
No response
Metadata
Metadata
Assignees
Labels
No labels