Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
22 | public function load(array $configs, ContainerBuilder $container) |
||
23 | { |
||
24 | $configuration = new Configuration(); |
||
25 | $config = $this->processConfiguration($configuration, $configs); |
||
|
|||
26 | |||
27 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
28 | $loader->load('services.yml'); |
||
29 | |||
30 | if (self::$loadTestConfig != false) { |
||
31 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Tests/config')); |
||
32 | $loader->load('services.yml'); |
||
33 | } |
||
36 |