File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -220,9 +220,8 @@ generate absolute URLs::
220
220
use Symfony\Component\Routing\Matcher\CompiledUrlMatcher;
221
221
use Symfony\Component\Routing\Matcher\Dumper\CompiledUrlMatcherDumper;
222
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
223
+ // $compiledRoutes is a plain PHP array that describes all routes in a performant data format
224
+ // you can (and should) cache it, typically by exporting it to a PHP file
226
225
$compiledRoutes = (new CompiledUrlMatcherDumper($routes))->getCompiledRoutes();
227
226
228
227
$matcher = new CompiledUrlMatcher($compiledRoutes, $context);
You can’t perform that action at this time.
0 commit comments