Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
15 | public function load(array $configs, ContainerBuilder $container): void |
||
16 | { |
||
17 | $configuration = new Configuration(); |
||
18 | $config = $this->processConfiguration($configuration, $configs); |
||
19 | |||
20 | // Load API GW Authentication configuration. |
||
21 | $container->setParameter('api_gw_authentication', $config); |
||
22 | |||
23 | $loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
24 | $loader->load('services.php'); |
||
25 | } |
||
53 |