File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1245,12 +1245,13 @@ the common configuration using options when importing the routes.
12451245 use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
12461246
12471247 return function (RoutingConfigurator $routes) {
1248- // use the optional fourth argument of import() to exclude some files
1249- // or subdirectories when loading annotations
12501248 $routes->import(
1251- resource: '../../src/Controller/',
1252- type: 'annotation',
1253- exclude: '../../src/Controller/{DebugEmailController}.php'
1249+ '../../src/Controller/',
1250+ 'annotation',
1251+ false,
1252+ // the optional fourth argument is used to exclude some files
1253+ // or subdirectories when loading annotations
1254+ '../../src/Controller/{DebugEmailController}.php'
12541255 )
12551256 // this is added to the beginning of all imported route URLs
12561257 ->prefix('/blog')
You can’t perform that action at this time.
0 commit comments