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