| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function createService(ServiceLocatorInterface $serviceLocator, $name = null, $requestedName = null) |
||
| 15 | { |
||
| 16 | $serviceLocator = $serviceLocator->getServiceLocator(); |
||
|
|
|||
| 17 | return new $requestedName( |
||
| 18 | $serviceLocator->get(CommandBusInterface::class), |
||
| 19 | $serviceLocator->get('doctrine.entitymanager.orm_default'), |
||
| 20 | $serviceLocator->get(StripeClient::class), |
||
| 21 | $serviceLocator->get(Configuration::class), |
||
| 22 | $serviceLocator->get(TicketAvailability::class), |
||
| 23 | $serviceLocator->get(DiscountCodeAvailability::class), |
||
| 24 | $serviceLocator->get('FormElementManager') |
||
| 25 | ); |
||
| 28 |