Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function load(array $configs, ContainerBuilder $container) |
||
27 | { |
||
28 | $configuration = new Configuration(); |
||
29 | $config = $this->processConfiguration($configuration, $configs); |
||
30 | |||
31 | $container->setParameter('postcode_api_key', $config['apiwise']['key']); |
||
32 | |||
33 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
34 | $loader->load('services.yml'); |
||
35 | } |
||
36 | } |
||
37 |