Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | 6 | public function load(array $configs, ContainerBuilder $container) |
|
24 | { |
||
25 | 6 | $loader = new PhpFileLoader( |
|
26 | 6 | $container, |
|
27 | 6 | new FileLocator(__DIR__ . '/../Resources/config/') |
|
28 | ); |
||
29 | |||
30 | 6 | $loader->load('services.php'); |
|
31 | 6 | $config = $this->processConfiguration(new Configuration(), $configs); |
|
32 | 6 | $container->setParameter('frankdejonge_i18n_routing.default_locale', $config['default_locale']); |
|
33 | 6 | $this->configureAnnotationLoader($config, $loader); |
|
34 | 6 | } |
|
35 | |||
42 | } |