| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 46 | public function load(array $configs, ContainerBuilder $container) |
||
| 47 | { |
||
| 48 | $processor = new Processor(); |
||
| 49 | $configuration = new Configuration(); |
||
| 50 | |||
| 51 | $config = $processor->processConfiguration($configuration, $configs); |
||
| 52 | |||
| 53 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 54 | $loader->load('services.xml'); |
||
| 55 | |||
| 56 | $container->setAlias($this->getAlias().'.role_manager', $config['role_manager']); |
||
| 57 | $container->setParameter($this->getAlias().'.role_class', $config['role_class']); |
||
| 58 | } |
||
| 59 | } |
||
| 60 |