Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
30 | public function load(array $configs, ContainerBuilder $container) |
||
31 | { |
||
32 | $configuration = new Configuration(); |
||
33 | |||
34 | $config = $this->processConfiguration($configuration, $configs); |
||
35 | |||
36 | foreach ($config as $key => $value) { |
||
37 | $container->setParameter($this->getAlias() . '.' . $key, $value); |
||
38 | } |
||
39 | |||
40 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
41 | $loader->load('services.xml'); |
||
42 | } |
||
52 |