Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
15 | public function load(array $configs, ContainerBuilder $container) |
||
16 | { |
||
17 | $configuration = new Configuration(); |
||
18 | $processConfig = $this->processConfiguration($configuration, $configs); |
||
19 | |||
20 | foreach ($processConfig as $key => $value) { |
||
21 | $container->setParameter($this->getAlias().'.'.$key, $value); |
||
22 | } |
||
23 | |||
24 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
25 | $loader->load('services.yml'); |
||
26 | } |
||
27 | } |
||
28 |