| Conditions | 1 |
| Paths | 1 |
| Total Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function load(array $configs, ContainerBuilder $container): void |
||
| 18 | { |
||
| 19 | $configuration = new Configuration(); |
||
| 20 | $config = $this->processConfiguration($configuration, $configs); |
||
| 21 | |||
| 22 | $container->setParameter( |
||
| 23 | 'sumo_coders_framework_multi_user.redirect_routes', |
||
| 24 | $config['redirect_routes'] |
||
| 25 | ); |
||
| 26 | |||
| 27 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 28 | $loader->load('console.yml'); |
||
| 29 | $loader->load('controllers.yml'); |
||
| 30 | $loader->load('forms.yml'); |
||
| 31 | $loader->load('repositories.yml'); |
||
| 32 | $loader->load('services.yml'); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |