| 1 | <?php |
||
| 22 | class ProcessExecutor implements ExecutorInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $consoleFile; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @param string $consoleFile |
||
| 31 | */ |
||
| 32 | 13 | public function __construct($consoleFile) |
|
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | 2 | public function execute(TaskExecutionInterface $execution) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * Extract the result from output. |
||
| 55 | * |
||
| 56 | * @param string $output |
||
| 57 | * |
||
| 58 | * @return string |
||
| 59 | */ |
||
| 60 | 1 | private function extractResult($output) |
|
| 78 | } |
||
| 79 |