| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 30 | public function create(array $config): Configuration |
||
| 31 | { |
||
| 32 | try { |
||
| 33 | return $this->serviceManager->build(Configuration::class, $config); |
||
| 34 | } catch (ContainerExceptionInterface $e) { |
||
| 35 | throw new ConfigurationFactoryException( |
||
| 36 | sprintf('Failed to create ORM Configuration: %s', $e->getMessage()), |
||
| 37 | $e->getCode(), |
||
| 38 | $e |
||
| 39 | ); |
||
| 43 |