Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class ShopwareCommandDispatcher extends AbstractTaskDefinitionDispatcher |
||
13 | { |
||
14 | /** |
||
15 | * @var ExecutableFinder |
||
16 | */ |
||
17 | private $execFinder; |
||
18 | |||
19 | /** |
||
20 | * @param ExecutableFinder $execFinder |
||
21 | */ |
||
22 | public function __construct(ExecutableFinder $execFinder) |
||
23 | { |
||
24 | $this->execFinder = $execFinder; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param TaskDefinitionInterface $taskDefinition |
||
29 | * @return bool |
||
30 | */ |
||
31 | public function canDispatchTaskDefinition(TaskDefinitionInterface $taskDefinition): bool |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @param TaskDefinitionInterface $taskDefinition |
||
38 | * @return DispatchResultInterface |
||
39 | * @throws \Deployee\Plugins\Deploy\Exception\DispatcherException |
||
40 | */ |
||
41 | public function dispatch(TaskDefinitionInterface $taskDefinition): DispatchResultInterface |
||
57 | } |