| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | 3 | public function load(array $configs, ContainerBuilder $container) |
|
| 13 | { |
||
| 14 | 3 | $configuration = new Configuration(); |
|
| 15 | 3 | $lobConfig = $this->processConfiguration($configuration, $configs); |
|
| 16 | |||
| 17 | 2 | $container->setParameter('crowd_reactive_lob.api_key', $lobConfig['api_key']); |
|
| 18 | 2 | $container->setParameter('crowd_reactive_lob.version', $lobConfig['version']); |
|
| 19 | |||
| 20 | 2 | $yamlLoader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 21 | 2 | $yamlLoader->load('services.yml'); |
|
| 22 | 2 | } |
|
| 23 | } |
||
| 24 |