| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function load(array $configs, ContainerBuilder $container) |
||
| 16 | { |
||
| 17 | $configuration = new Configuration(); |
||
| 18 | $config = $this->processConfiguration($configuration, $configs); |
||
| 19 | |||
| 20 | $container->setParameter('nexy_slack.endpoint', $config['endpoint']); |
||
| 21 | unset($config['endpoint']); |
||
| 22 | $container->setParameter('nexy_slack.config', $config); |
||
| 23 | |||
| 24 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 25 | $loader->load('client.xml'); |
||
| 26 | } |
||
| 27 | } |
||
| 28 |