Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function load(array $configs, ContainerBuilder $container): void |
||
33 | { |
||
34 | $configuration = new Configuration(); |
||
35 | $config = $this->processConfiguration($configuration, $configs); |
||
36 | |||
37 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
38 | $loader->load('services.xml'); |
||
39 | |||
40 | // Set all config in container. |
||
41 | // Steps will be validated in compiler pass. |
||
42 | $container->setParameter(StepsPass::PARAMETERS_MANAGERS, $config['managers']); |
||
43 | } |
||
44 | } |
||
45 |