Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
18 | 1 | public function load(array $configs, ContainerBuilder $container) |
|
19 | { |
||
20 | 1 | $configuration = new Configuration(); |
|
21 | 1 | $config = $this->processConfiguration($configuration, $configs); |
|
22 | |||
23 | 1 | $container->setParameter('happyr.blaze.objects', $config['objects']); |
|
24 | |||
25 | 1 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
26 | 1 | $loader->load('services.xml'); |
|
27 | 1 | } |
|
28 | } |
||
29 |