Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function load(array $configs, ContainerBuilder $container) |
||
30 | { |
||
31 | $configuration = new Configuration(); |
||
32 | $config = $this->processConfiguration($configuration, $configs); |
||
33 | |||
34 | // Set connection settings. |
||
35 | $container->setParameter('ongr_settings.repo', $config['repo']); |
||
36 | |||
37 | // Set profiles. |
||
38 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
39 | $loader->load('services.yml'); |
||
40 | $loader->load('filter_manager.yml'); |
||
41 | } |
||
42 | } |
||
43 |