| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function load(array $configs, ContainerBuilder $container) |
||
| 13 | { |
||
| 14 | $configuration = new Configuration(); |
||
| 15 | $config = $this->processConfiguration($configuration, $configs); |
||
| 16 | |||
| 17 | $container->setParameter('loevgaard_pakkelabels.api_username', $config['api_username']); |
||
| 18 | $container->setParameter('loevgaard_pakkelabels.api_password', $config['api_password']); |
||
| 19 | $container->setParameter('loevgaard_pakkelabels.label_dir', $config['label_dir']); |
||
| 20 | |||
| 21 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 22 | $loader->load('services.yml'); |
||
| 23 | } |
||
| 24 | } |
||
| 25 |