File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
symfony/framework-bundle/4.2/src Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 7
7
use Symfony \Component \Config \Resource \FileResource ;
8
8
use Symfony \Component \DependencyInjection \ContainerBuilder ;
9
9
use Symfony \Component \HttpKernel \Kernel as BaseKernel ;
10
- use Symfony \Component \Routing \RouteCollectionBuilder ;
10
+ use Symfony \Component \Routing \Loader \ Configurator \ RoutingConfigurator ;
11
11
12
12
class Kernel extends BaseKernel
13
13
{
@@ -43,12 +43,12 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa
43
43
$ loader ->load ($ confDir .'/{services}_ ' .$ this ->environment .self ::CONFIG_EXTS , 'glob ' );
44
44
}
45
45
46
- protected function configureRoutes ( RouteCollectionBuilder $ routes ): void
46
+ protected function configureRouting ( RoutingConfigurator $ routes ): void
47
47
{
48
48
$ confDir = $ this ->getProjectDir ().'/config ' ;
49
49
50
- $ routes ->import ($ confDir .'/{routes}/ ' .$ this ->environment .'/* ' .self ::CONFIG_EXTS , '/ ' , ' glob ' );
51
- $ routes ->import ($ confDir .'/{routes}/* ' .self ::CONFIG_EXTS , '/ ' , ' glob ' );
52
- $ routes ->import ($ confDir .'/{routes} ' .self ::CONFIG_EXTS , '/ ' , ' glob ' );
50
+ $ routes ->import ($ confDir .'/{routes}/ ' .$ this ->environment .'/* ' .self ::CONFIG_EXTS , 'glob ' );
51
+ $ routes ->import ($ confDir .'/{routes}/* ' .self ::CONFIG_EXTS , 'glob ' );
52
+ $ routes ->import ($ confDir .'/{routes} ' .self ::CONFIG_EXTS , 'glob ' );
53
53
}
54
54
}
You can’t perform that action at this time.
0 commit comments