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 77use Symfony \Component \Config \Resource \FileResource ;
88use Symfony \Component \DependencyInjection \ContainerBuilder ;
99use Symfony \Component \HttpKernel \Kernel as BaseKernel ;
10- use Symfony \Component \Routing \RouteCollectionBuilder ;
10+ use Symfony \Component \Routing \Loader \ Configurator \ RoutingConfigurator ;
1111
1212class Kernel extends BaseKernel
1313{
@@ -43,12 +43,12 @@ protected function configureContainer(ContainerBuilder $container, LoaderInterfa
4343 $ loader ->load ($ confDir .'/{services}_ ' .$ this ->environment .self ::CONFIG_EXTS , 'glob ' );
4444 }
4545
46- protected function configureRoutes ( RouteCollectionBuilder $ routes ): void
46+ protected function configureRouting ( RoutingConfigurator $ routes ): void
4747 {
4848 $ confDir = $ this ->getProjectDir ().'/config ' ;
4949
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 ' );
5353 }
5454}
You can’t perform that action at this time.
0 commit comments