| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Lines | 11 | 
| Ratio | 100 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 27 | public function load(array $configs, ContainerBuilder $container): void | ||
| 28 |     { | ||
| 29 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); | ||
| 30 |         $loader->load('services.yaml'); | ||
| 31 | |||
| 32 | $config = $this->processConfiguration(new Configuration(), $configs); | ||
| 33 | |||
| 34 |         if ($config['persistence']['orm']['enabled']) { | ||
| 35 | $this->registerStorage(Drivers::DRIVER_DOCTRINE_ORM, $config['persistence']['orm']['classes'], $container); | ||
| 36 | } | ||
| 37 | } | ||
| 38 | } | ||
| 39 |