Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function load(array $configs, ContainerBuilder $container): void |
||
27 | { |
||
28 | $configuration = new Configuration(); |
||
29 | $config = $this->processConfiguration($configuration, $configs); |
||
30 | |||
31 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
32 | $loader->load('services.yaml'); |
||
33 | |||
34 | $container->setParameter('swp.geo_ip.database_url', $config['database_url']); |
||
35 | $container->setParameter('swp.geo_ip.database_path', $config['database_path']); |
||
36 | } |
||
37 | } |
||
38 |