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