Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bda855d

Browse filesBrowse files
committed
Minor tweak
1 parent 0f790dc commit bda855d
Copy full SHA for bda855d

File tree

1 file changed

+2
-3
lines changed
Filter options

1 file changed

+2
-3
lines changed

‎create_framework/routing.rst

Copy file name to clipboardExpand all lines: create_framework/routing.rst
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,8 @@ generate absolute URLs::
220220
use Symfony\Component\Routing\Matcher\CompiledUrlMatcher;
221221
use Symfony\Component\Routing\Matcher\Dumper\CompiledUrlMatcherDumper;
222222

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
226225
$compiledRoutes = (new CompiledUrlMatcherDumper($routes))->getCompiledRoutes();
227226

228227
$matcher = new CompiledUrlMatcher($compiledRoutes, $context);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.