1 | <?php |
||
11 | abstract class ToolHandler |
||
12 | { |
||
13 | /** @var OutputHandlerInterface */ |
||
14 | protected $outputHandler; |
||
15 | /** @var OutputInterface */ |
||
16 | protected $output; |
||
17 | |||
18 | /** |
||
19 | * @param OutputHandlerInterface $outputHandler |
||
20 | */ |
||
21 | public function __construct(OutputHandlerInterface $outputHandler) |
||
25 | |||
26 | /** |
||
27 | * @param OutputInterface $outputInterface |
||
28 | */ |
||
29 | public function setOutput(OutputInterface $outputInterface) |
||
33 | |||
34 | /** |
||
35 | * @param \Exception $exceptionClass |
||
36 | * @param string $errorText |
||
37 | */ |
||
38 | protected function writeOutputError(\Exception $exceptionClass, $errorText) |
||
43 | } |
||
44 |