| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
| 29 | { |
||
| 30 | /** @var ObjectManagerAutoDetectorInterface $objectManagerAutoDetector */ |
||
| 31 | $objectManagerAutoDetector = $serviceLocator->get(ObjectManagerAutoDetectorInterface::class); |
||
| 32 | |||
| 33 | /** @var EntityManagerInterface $entityManager */ |
||
| 34 | $entityManager = $serviceLocator->get(EntityManagerInterface::class); |
||
| 35 | |||
| 36 | return new ObjectManagerService($objectManagerAutoDetector, $entityManager); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |