Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function load(array $configs, ContainerBuilder $container) |
||
14 | { |
||
15 | $configuration = new Configuration(); |
||
16 | $config = $this->processConfiguration($configuration, $configs); |
||
17 | |||
18 | $container->setParameter('nexy_slack.endpoint', $config['endpoint']); |
||
19 | unset($config['endpoint']); |
||
20 | $container->setParameter('nexy_slack.config', $config); |
||
21 | } |
||
22 | } |
||
23 |