File tree 1 file changed +6
-5
lines changed
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.
1245
1245
use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
1246
1246
1247
1247
return function (RoutingConfigurator $routes) {
1248
- // use the optional fourth argument of import() to exclude some files
1249
- // or subdirectories when loading annotations
1250
1248
$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'
1254
1255
)
1255
1256
// this is added to the beginning of all imported route URLs
1256
1257
->prefix('/blog')
You can’t perform that action at this time.
0 commit comments