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