Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function __construct(?RbacConfig $rbacConfig = null) |
||
23 | { |
||
24 | $this->containerBuilder = new ContainerBuilder(); |
||
25 | |||
26 | if (isset($rbacConfig)) { |
||
27 | $this->containerBuilder->set('rbacConfig', $rbacConfig); |
||
28 | } |
||
29 | |||
30 | $loader = new YamlFileLoader($this->containerBuilder, new FileLocator(__DIR__)); |
||
31 | $loader->load('services.yaml'); |
||
32 | } |
||
49 |