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