| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | final class MonsieurBizSyliusSalesReportsExtension extends Extension |
||
| 13 | { |
||
| 14 | |||
| 15 | CONST EXTENSION_CONFIG_NAME = 'monsieurbiz_sylius_sales_reports'; |
||
| 16 | |||
| 17 | public function load(array $configs, ContainerBuilder $container) |
||
| 18 | { |
||
| 19 | $config = $this->processConfiguration($this->getConfiguration([], $container), $configs); |
||
|
|
|||
| 20 | foreach ($config as $name => $value) { |
||
| 21 | $container->setParameter(self::EXTENSION_CONFIG_NAME . '.' . $name, $value); |
||
| 22 | } |
||
| 23 | |||
| 24 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 25 | $loader->load('services.yaml'); |
||
| 26 | } |
||
| 27 | |||
| 28 | public function getAlias() |
||
| 31 | } |
||
| 32 | } |
||
| 33 |