Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
41 | public function dispatch(TaskDefinitionInterface $taskDefinition): DispatchResultInterface |
||
42 | { |
||
43 | $parameter = $taskDefinition->define(); |
||
44 | $shellTask = new ShellTaskDefinition('php'); |
||
45 | $shellTask->arguments( |
||
46 | sprintf( |
||
47 | '%s %s %s', |
||
48 | $this->execFinder->find('swconsole'), |
||
49 | $parameter->get('command'), |
||
50 | $parameter->get('arguments') |
||
51 | ) |
||
52 | ); |
||
53 | |||
54 | return $this->delegate($shellTask); |
||
55 | } |
||
57 | } |