| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function create(array $config): Configuration |
||
| 42 | { |
||
| 43 | try { |
||
| 44 | return $this->serviceManager->build(Configuration::class, $config); |
||
| 45 | } catch (\Throwable $e) { |
||
| 46 | throw new ConfigurationFactoryException( |
||
| 47 | sprintf('Failed to create ORM Configuration: %s', $e->getMessage()), |
||
| 48 | $e->getCode(), |
||
| 49 | $e |
||
| 50 | ); |
||
| 54 |