Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
33 | public function load(array $configs, ContainerBuilder $container) |
||
34 | { |
||
35 | $processor = new Processor(); |
||
36 | $configuration = new Configuration(); |
||
37 | $config = $processor->processConfiguration($configuration, $configs); |
||
38 | $loader = new YamlFileLoader( |
||
39 | $container, |
||
40 | new FileLocator(__DIR__ . '/../Resources/config') |
||
41 | ); |
||
42 | |||
43 | $loader->load('services.yml'); |
||
44 | |||
45 | $container->setParameter('lin3s_knowledge_base.configuration_parameters', $config); |
||
46 | } |
||
47 | } |
||
48 |