File tree Expand file tree Collapse file tree 6 files changed +6
-112
lines changed
DependencyInjection/Compiler
Tests/DependencyInjection/Compiler Expand file tree Collapse file tree 6 files changed +6
-112
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 ;
10
- use Symfony \Cmf \Bundle \ RoutingBundle \DependencyInjection \Compiler \RouteEnhancerPass ;
9
+ use Symfony \Cmf \Component \ Routing \DependencyInjection \Compiler \RegisterRoutersPass ;
10
+ use Symfony \Cmf \Component \ Routing \DependencyInjection \Compiler \RegisterRouteEnhancersPass ;
11
11
use Symfony \Cmf \Bundle \RoutingBundle \DependencyInjection \Compiler \SetRouterPass ;
12
12
13
13
/**
@@ -21,8 +21,8 @@ class CmfRoutingBundle extends Bundle
21
21
public function build (ContainerBuilder $ container )
22
22
{
23
23
parent ::build ($ container );
24
- $ container ->addCompilerPass (new ChainRouterPass ());
25
- $ container ->addCompilerPass (new RouteEnhancerPass ());
24
+ $ container ->addCompilerPass (new RegisterRoutersPass ());
25
+ $ container ->addCompilerPass (new RegisterRouteEnhancersPass ());
26
26
$ container ->addCompilerPass (new SetRouterPass ());
27
27
28
28
if (class_exists ('Doctrine\Bundle\PHPCRBundle\DependencyInjection\Compiler\DoctrinePhpcrMappingsPass ' )) {
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 65
65
66
66
<service id =" cmf_routing.nested_matcher" class =" %cmf_routing.nested_matcher_class%" >
67
67
<argument type =" service" id =" cmf_routing.route_provider" />
68
- <call method = " setFinalMatcher " >< argument type =" service" id =" cmf_routing.final_matcher" /></ call >
68
+ <argument type =" service" id =" cmf_routing.final_matcher" />
69
69
</service >
70
70
71
71
<service id =" cmf_routing.final_matcher" class =" %cmf_routing.final_matcher_class%" >
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 14
14
"minimum-stability" : " dev" ,
15
15
"require" : {
16
16
"php" : " >=5.3.3" ,
17
- "symfony-cmf/routing" : " ~1.1.0-dev " ,
17
+ "symfony-cmf/routing" : " ~1.1.0-beta2 " ,
18
18
"symfony/framework-bundle" : " ~2.2"
19
19
},
20
20
"require-dev" : {
You can’t perform that action at this time.
0 commit comments