Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public function load(array $configs, ContainerBuilder $container): void |
||
13 | { |
||
14 | $configuration = new Configuration(); |
||
15 | $config = $this->processConfiguration($configuration, $configs); |
||
16 | |||
17 | foreach ($config as $key => $value) { |
||
18 | $container->setParameter('xiidea.easy_config.' . $key, $value); |
||
19 | } |
||
20 | |||
21 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
22 | $loader->load('services.yaml'); |
||
23 | } |
||
25 |