| Conditions | 3 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function load(array $configs, ContainerBuilder $container) |
||
| 21 | { |
||
| 22 | $configuration = new Configuration(); |
||
| 23 | $config = $this->processConfiguration($configuration, $configs); |
||
| 24 | |||
| 25 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 26 | $loader->load('services.yml'); |
||
| 27 | |||
| 28 | $container->setParameter('gotakk.view_model.irregular_plurals.parameter', array()); |
||
| 29 | if (isset($config['plurals']) && (!empty($config['plurals']))) { |
||
| 30 | $container->setParameter('gotakk.view_model.irregular_plurals.parameter', $config['plurals']); |
||
| 31 | } |
||
| 32 | } |
||
| 33 | } |
||
| 34 |