| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | 1 | public function load(array $configs, ContainerBuilder $container) |
|
| 28 | { |
||
| 29 | 1 | $configuration = new Configuration(); |
|
| 30 | 1 | $config = $this->processConfiguration($configuration, $configs); |
|
| 31 | |||
| 32 | 1 | $container->setParameter('sulu_validation.schemas', $config['schemas']); |
|
| 33 | 1 | $container->setParameter('sulu_validation.schema_cache', $config['schema_cache']); |
|
| 34 | |||
| 35 | 1 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 36 | 1 | $loader->load('services.xml'); |
|
| 37 | 1 | } |
|
| 38 | } |
||
| 39 |