Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
18 | 4 | public function load(array $configs, ContainerBuilder $container) |
|
19 | { |
||
20 | 4 | $loader = new Loader\YamlFileLoader( |
|
21 | $container, |
||
22 | 4 | new FileLocator(__DIR__.'/../Resources/config') |
|
23 | ); |
||
24 | 4 | $loader->load('services.yml'); |
|
25 | 4 | $config = $this->processConfiguration( |
|
26 | 4 | new Configuration, |
|
27 | $configs |
||
28 | ); |
||
29 | |||
30 | 3 | $container->setParameter( |
|
31 | 3 | 'innmind_event_bus.stack', |
|
32 | 3 | $config['stack'] |
|
33 | ); |
||
34 | 3 | } |
|
35 | } |
||
36 |