| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function load(array $configs, ContainerBuilder $container) |
||
| 28 | { |
||
| 29 | $configuration = new Configuration(); |
||
| 30 | $config = $this->processConfiguration($configuration, $configs); |
||
| 31 | |||
| 32 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 33 | $loader->load('form/console_application.yml'); |
||
| 34 | $loader->load('validator.yml'); |
||
| 35 | |||
| 36 | $container->setParameter('amf_console.allowed_prefixes', $config['allowed_prefixes']); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |