Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function createService(ServiceLocatorInterface $serviceLocator) |
||
28 | { |
||
29 | /** @var EntryToObjectsService $entryToObjectsService */ |
||
30 | $entryToObjectsService = $serviceLocator->get(EntryToObjectsService::class); |
||
31 | |||
32 | /** @var Workflow $workflowService */ |
||
33 | $workflowService = $serviceLocator->get(Workflow::class); |
||
34 | |||
35 | $initOptions = [ |
||
36 | 'entryToObjectsService' => $entryToObjectsService, |
||
37 | 'workflowService' => $workflowService |
||
38 | ]; |
||
39 | |||
40 | return new WorkflowTools($initOptions); |
||
41 | } |
||
42 | } |
||
43 |