| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 15 | 
| Code Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 22 | public function load(array $configs, ContainerBuilder $container) | ||
| 23 |     { | ||
| 24 | $configuration = new Configuration(); | ||
| 25 | $config = $this->processConfiguration($configuration, $configs); | ||
| 26 |         $container->setParameter('cwd_power_dns_client.uri', $config['uri']); | ||
| 27 |         $container->setParameter('cwd_power_dns_client.api_key', $config['api_key']); | ||
| 28 |         $container->setParameter('cwd_power_dns_client.default_server', $config['default_server']); | ||
| 29 | |||
| 30 |         $container->setParameter('cwd_power_dns_client.clients', $config['hosts']); | ||
| 31 | |||
| 32 | $loader = new YamlFileLoader( | ||
| 33 | $container, | ||
| 34 | new FileLocator(__DIR__.'/../Resources/config') | ||
| 35 | ); | ||
| 36 |         $loader->load('services.yaml'); | ||
| 37 | } | ||
| 39 |