| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 12 | public function load(array $configs, ContainerBuilder $container) |
||
| 13 | { |
||
| 14 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 15 | $loader->load('services.yml'); |
||
| 16 | |||
| 17 | $configuration = new Configuration(); |
||
| 18 | $config = $this->processConfiguration($configuration, $configs); |
||
| 19 | |||
| 20 | foreach ($config as $key => $value) { |
||
| 21 | $param = 'rdv_migration.' . $key; |
||
| 22 | if (!$container->hasParameter($param)) { |
||
| 23 | $container->setParameter($param, $value); |
||
| 24 | } |
||
| 25 | } |
||
| 26 | } |
||
| 27 | } |
||
| 28 |