| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function createService(ServiceLocatorInterface $serviceLocator, $name = null, $requestedName = null) |
||
| 12 | { |
||
| 13 | $serviceLocator = $serviceLocator->getServiceLocator(); |
||
|
|
|||
| 14 | return new $requestedName( |
||
| 15 | $serviceLocator->get('doctrine.entitymanager.orm_default'), |
||
| 16 | $serviceLocator->get(TicketsConfiguration::class) |
||
| 17 | ); |
||
| 19 | } |