Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitbda855d

Browse files
committed
Minor tweak
1 parent0f790dc commitbda855d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎create_framework/routing.rst‎

Lines 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)

[8]ページ先頭

©2009-2025 Movatter.jp