| Total Complexity | 1 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | abstract class AbstractCliRunnerProcessor implements \WebServCo\Framework\Interfaces\RunnerInterface |
||
| 13 | { |
||
| 14 | // Log simple messages to both file and output. |
||
| 15 | use \WebServCo\Framework\Traits\LogTrait; |
||
| 16 | |||
| 17 | protected CliRunnerInterface $cliRunner; |
||
| 18 | |||
| 19 | protected ErrorProcessorInterface $errorProcessor; |
||
| 20 | |||
| 21 | protected LoggerInterface $fileLogger; |
||
| 22 | |||
| 23 | protected OutputLoggerInterface $outputLogger; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Called by the "run" method. |
||
| 27 | */ |
||
| 28 | abstract protected function finish(bool $result): bool; |
||
| 29 | |||
| 30 | public function __construct( |
||
| 45 |