| 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 |
||
| 30 | public function load(array $configs, ContainerBuilder $container) |
||
| 31 | { |
||
| 32 | $config = $this->processConfiguration(new Configuration(), $configs); |
||
| 33 | |||
| 34 | $container->setParameter('pagination.max_navigate', $config['max_navigate']); |
||
| 35 | $container->setParameter('pagination.template', $config['template']); |
||
| 36 | |||
| 37 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 38 | $loader->load('services.yml'); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |