Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
19 | { |
||
20 | $mainServiceLocator = $serviceLocator->getServiceLocator(); |
||
|
|||
21 | $repositoryManager = $mainServiceLocator->get(PluginManager::class); |
||
22 | |||
23 | return new TicketCommandHandler( |
||
24 | new YouTubeStyleIdentityGenerator(), |
||
25 | $repositoryManager->get(TicketPurchase::class), |
||
26 | new Factory( |
||
27 | new TicketIdentityGenerator(), |
||
28 | $mainServiceLocator->get(Configuration::class), |
||
29 | new ValidateBasket() |
||
30 | ) |
||
33 | } |