Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function load(array $configs, ContainerBuilder $container): void |
||
19 | { |
||
20 | $configuration = new Req2CmdConfiguration(); |
||
21 | $config = $this->processConfiguration($configuration, $configs); |
||
22 | |||
23 | $loader = new XmlFileLoader( |
||
24 | $container, |
||
25 | new FileLocator(__DIR__ . '/../Resources/config') |
||
26 | ); |
||
27 | |||
28 | $loader->load('actions.xml'); |
||
29 | $loader->load('extractors.xml'); |
||
30 | $loader->load('listeners.xml'); |
||
31 | $loader->load('param_mappers.xml'); |
||
32 | |||
33 | $this->configureExtractors($config, $container); |
||
34 | } |
||
35 | |||
47 |