Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 4 | ||
Bugs | 0 | Features | 3 |
1 | <?php |
||
20 | 1 | public function load(array $configs, ContainerBuilder $container) |
|
21 | { |
||
22 | 1 | $configuration = new Configuration(); |
|
23 | 1 | $config = $this->processConfiguration($configuration, $configs); |
|
24 | |||
25 | 1 | $container->setParameter('developtech_agility.user_class', $config['user_class']); |
|
26 | |||
27 | 1 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
28 | 1 | $loader->load('services.yml'); |
|
29 | 1 | } |
|
30 | } |
||
31 |