| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | 1 | public function load(array $configs, ContainerBuilder $container): void |
|
| 25 | { |
||
| 26 | 1 | $configuration = new Configuration(); |
|
| 27 | 1 | $config = $this->processConfiguration($configuration, $configs); |
|
| 28 | |||
| 29 | // Load EC Reverse Proxy configuration. |
||
| 30 | 1 | $container->setParameter('reverse_proxy_helper', $config); |
|
| 31 | |||
| 32 | 1 | $loader = new PhpFileLoader( |
|
| 33 | $container, |
||
| 34 | 1 | new FileLocator(__DIR__ . '/../Resources/config') |
|
| 35 | ); |
||
| 36 | |||
| 37 | 1 | $loader->load('services.php'); |
|
| 38 | } |
||
| 40 |