Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 2 |
1 | <?php |
||
30 | 1 | public function load(array $configs, ContainerBuilder $container) |
|
31 | { |
||
32 | 1 | $config = $this->processConfiguration(new Configuration(), $configs); |
|
33 | |||
34 | 1 | $container->setParameter('pagination.max_navigate', $config['max_navigate']); |
|
35 | 1 | $container->setParameter('pagination.template', $config['template']); |
|
36 | |||
37 | 1 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
38 | 1 | $loader->load('services.yml'); |
|
39 | 1 | } |
|
40 | } |
||
41 |