Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
29 | 5 | public function load(array $configs, ContainerBuilder $container) |
|
30 | { |
||
31 | 5 | $configuration = new Configuration(); |
|
32 | 5 | $config = $this->processConfiguration($configuration, $configs); |
|
33 | |||
34 | 5 | (new EventBusConfiguration())->configureEventBus($config['event_bus'], $container); |
|
35 | |||
36 | 5 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
37 | 5 | $loader->load('services.xml'); |
|
38 | 5 | } |
|
39 | } |
||
40 |