| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 2 | public function load(array $configs, ContainerBuilder $container) |
|
| 21 | { |
||
| 22 | 2 | $configuration = new Configuration(); |
|
| 23 | 2 | $config = $this->processConfiguration($configuration, $configs); |
|
| 24 | |||
| 25 | 2 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 26 | 2 | $loader->load('services.yml'); |
|
| 27 | |||
| 28 | 2 | $container->setParameter($this->getAlias().'.decoders', $config['content_type_listener']['decoders']); |
|
| 29 | 2 | } |
|
| 30 | } |
||
| 31 |