| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function loadInternal(array $mergedConfig, ContainerBuilder $container) |
||
| 30 | { |
||
| 31 | $loader = new YamlFileLoader( |
||
| 32 | $container, |
||
| 33 | new FileLocator(__DIR__ . '/../Resources/config') |
||
| 34 | ); |
||
| 35 | $loader->load('services.yml'); |
||
| 36 | |||
| 37 | $container->setParameter('savchenko.open_weather_map.api_key', $mergedConfig['api_key']); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |