We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f790dc commit bda855dCopy full SHA for bda855d
create_framework/routing.rst
@@ -220,9 +220,8 @@ generate absolute URLs::
220
use Symfony\Component\Routing\Matcher\CompiledUrlMatcher;
221
use Symfony\Component\Routing\Matcher\Dumper\CompiledUrlMatcherDumper;
222
223
- // $compiledRoutes is a plain PHP array that describes
224
- // all routes using a performant data format
225
- // you can and SHOULD cache it, typically by exporting it to a PHP file
+ // $compiledRoutes is a plain PHP array that describes all routes in a performant data format
+ // you can (and should) cache it, typically by exporting it to a PHP file
226
$compiledRoutes = (new CompiledUrlMatcherDumper($routes))->getCompiledRoutes();
227
228
$matcher = new CompiledUrlMatcher($compiledRoutes, $context);
0 commit comments