File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
use Symfony \Component \DependencyInjection \Definition ;
7
7
use Symfony \Component \HttpKernel \Bundle \Bundle ;
8
8
use Symfony \Component \DependencyInjection \ContainerBuilder ;
9
- use Symfony \Cmf \Bundle \ RoutingBundle \DependencyInjection \Compiler \ ChainRouterPass ;
9
+ use Symfony \Cmf \Component \ Routing \DependencyInjection \RegisterRoutersPass ;
10
10
use Symfony \Cmf \Bundle \RoutingBundle \DependencyInjection \Compiler \RouteEnhancerPass ;
11
11
use Symfony \Cmf \Bundle \RoutingBundle \DependencyInjection \Compiler \SetRouterPass ;
12
12
@@ -21,7 +21,7 @@ class CmfRoutingBundle extends Bundle
21
21
public function build (ContainerBuilder $ container )
22
22
{
23
23
parent ::build ($ container );
24
- $ container ->addCompilerPass (new ChainRouterPass ());
24
+ $ container ->addCompilerPass (new RegisterRoutersPass ());
25
25
$ container ->addCompilerPass (new RouteEnhancerPass ());
26
26
$ container ->addCompilerPass (new SetRouterPass ());
27
27
You can’t perform that action at this time.
0 commit comments