Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
22 | public function load(array $configs, ContainerBuilder $container) |
||
23 | { |
||
24 | $configuration = $this->getConfiguration($configs, $container); |
||
25 | $config = $this->processConfiguration($configuration, $configs); |
||
|
|||
26 | |||
27 | $container->setParameter('redis_url', $config['redis_url']); |
||
28 | $container->setParameter('mongodb_url', $config['mongodb_url']); |
||
29 | |||
30 | $loader = new YamlFileLoader( |
||
31 | $container, |
||
32 | new FileLocator(__DIR__.'/../Resources/config') |
||
33 | ); |
||
34 | |||
35 | $loader->load('services.yaml'); |
||
36 | } |
||
43 |