Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function load(array $config, ContainerBuilder $container): void |
||
18 | { |
||
19 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
||
|
|||
20 | |||
21 | $container->setParameter('odiseo_sylius_geo_plugin.enabled_address_city_name', $config['enabled_address_city_name']); |
||
22 | $container->setParameter('odiseo_sylius_geo_plugin.enabled_address_postal_code', $config['enabled_address_postal_code']); |
||
23 | |||
24 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
25 | |||
26 | $loader->load('services.yaml'); |
||
27 | } |
||
29 |