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

Commit15a3220

Browse files
committed
minor#14506 Update routing.rst (ThomasLandauer)
This PR was merged into the 4.4 branch.Discussion----------Update routing.rstFixing argument number. Function signature is:```phpfinal public function import($resource, string $type = null, bool $ignoreErrors = false, $exclude = null): ImportConfigurator```Commits-------104c8f0 Update routing.rst
2 parents138957e +104c8f0 commit15a3220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎routing.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ the common configuration using options when importing the routes.
12431243
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
12441244
12451245
return function (RoutingConfigurator $routes) {
1246-
// use the optionalfifth argument of import() to exclude some files
1246+
// use the optionalfourth argument of import() to exclude some files
12471247
// or subdirectories when loading annotations
12481248
$routes->import('../../src/Controller/', 'annotation')
12491249
// this is added to the beginning of all imported route URLs

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp