| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function load(array $config, ContainerBuilder $container): void |
||
| 16 | { |
||
| 17 | $configProcessor = new Processor(); |
||
| 18 | $config = $configProcessor->processConfiguration(new Configuration(), $config); |
||
| 19 | |||
| 20 | $container->setParameter('gnutix_library.source_file_path', $config['source_file_path']); |
||
| 21 | |||
| 22 | $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
||
| 23 | $loader->load('services.yml'); |
||
| 24 | |||
| 25 | $container->setAliases($this->getLibraryAliases($config['source_file_path'])); |
||
| 26 | } |
||
| 57 |