| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | public function load(array $config, ContainerBuilder $container): void |
||
| 19 | { |
||
| 20 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
||
|
|
|||
| 21 | |||
| 22 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
||
| 23 | $loader->load('services.xml'); |
||
| 24 | |||
| 25 | // Notice that we give an empty resources array here, but this ensures that the parameters are set in the AbstractResourceExtension |
||
| 26 | // which in turn will run the compiler pass Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterMappingsPass |
||
| 27 | $this->registerResources('setono_sylius_returns', $config['driver'], [], $container); |
||
| 28 | } |
||
| 30 |