Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class OdiseoSyliusMercadoPagoExtension extends Extension |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritdoc} |
||
17 | */ |
||
18 | public function load(array $config, ContainerBuilder $container): void |
||
19 | { |
||
20 | $this->processConfiguration($this->getConfiguration([], $container), $config); |
||
21 | |||
22 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
23 | |||
24 | $loader->load('services.yaml'); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function getConfiguration(array $config, ContainerBuilder $container): ConfigurationInterface |
||
33 | } |
||
34 | } |
||
35 |