Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function load(array $config, ContainerBuilder $container): void |
||
21 | { |
||
22 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
||
|
|||
23 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
24 | |||
25 | $container->setParameter('setono_sylius_stock_movement.filesystem.report', $config['report_filesystem']); |
||
26 | |||
27 | $this->registerTemplateParameter($container, $config['templates']); |
||
28 | |||
29 | $loader->load('services.xml'); |
||
30 | |||
31 | $this->registerResources('setono_sylius_stock_movement', $config['driver'], $config['resources'], $container); |
||
32 | } |
||
44 |