| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | public function load(array $configs, ContainerBuilder $container) |
||
| 21 | { |
||
| 22 | $configuration = new Configuration(); |
||
| 23 | |||
| 24 | $config = $this->processConfiguration($configuration, $configs); |
||
| 25 | |||
| 26 | $container->setParameter('timechimp.access_token', $config['api_key']); |
||
| 27 | |||
| 28 | $loader = new YamlFileLoader( |
||
| 29 | $container, |
||
| 30 | new FileLocator(__DIR__.'/../Resources/config') |
||
| 31 | ); |
||
| 32 | |||
| 33 | $loader->load('services.yaml'); |
||
| 34 | } |
||
| 36 |