File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ public function process(ContainerBuilder $container)
28
28
}
29
29
30
30
$ definition = $ container ->getDefinition ('gatekeeper ' );
31
+ $ definition ->addArgument (new Reference ($ container ->getParameter ('gatekeeper.repository.service ' )));
32
+
31
33
$ taggedServices = $ container ->findTaggedServiceIds ('gatekeeper.access ' );
32
34
33
35
foreach ($ taggedServices as $ id => $ attributes )
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- namespace ZL \ GateKeeperBundle \DependencyInjection ;
3
+ namespace GateKeeperBundle \DependencyInjection ;
4
4
5
5
use Symfony \Component \Config \Definition \Builder \TreeBuilder ;
6
6
use Symfony \Component \Config \Definition \ConfigurationInterface ;
Original file line number Diff line number Diff line change 2
2
3
3
namespace GateKeeperBundle \DependencyInjection ;
4
4
5
- use Symfony \Bundle \FrameworkBundle \DependencyInjection \Configuration ;
6
5
use Symfony \Component \DependencyInjection \ContainerBuilder ;
7
6
use Symfony \Component \Config \FileLocator ;
8
7
use Symfony \Component \HttpKernel \DependencyInjection \Extension ;
Original file line number Diff line number Diff line change @@ -6,14 +6,10 @@ parameters:
6
6
services :
7
7
gatekeeper :
8
8
class : %gatekeeper.class%
9
- arguments : [@gatekeeper.repository]
10
9
11
10
gatekeeper.repository.dummy :
12
11
class : GateKeeper\Repository\DummyRepository
13
12
14
- gatekeeper.repository :
15
- alias : %gatekeeper.repository.service%
16
-
17
13
gatekeeper.access.allow :
18
14
public : false
19
15
class : %gatekeeper.access.allow.class%
You can’t perform that action at this time.
0 commit comments