| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | public function load(array $configs, ContainerBuilder $container): void |
||
| 22 | { |
||
| 23 | $configuration = new Configuration(); |
||
| 24 | $config = $this->processConfiguration($configuration, $configs); |
||
| 25 | |||
| 26 | // Load CAS configuration. |
||
| 27 | $container->setParameter('cas', $config); |
||
| 28 | |||
| 29 | // Load CAS services. |
||
| 30 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 31 | $loader->load('services.yaml'); |
||
| 32 | } |
||
| 34 |