| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | class ProgressDisplay implements CanExecuteAction |
||
| 16 | { |
||
| 17 | /** @var OutputInterface */ |
||
| 18 | private $output; |
||
| 19 | |||
| 20 | public function __construct(OutputInterface $output = null) |
||
| 21 | { |
||
| 22 | $this->output = $output ?? new StreamOutput(fopen('php://memory', 'w', false)); |
||
|
|
|||
| 23 | } |
||
| 24 | |||
| 25 | public function runningParser(): void |
||
| 26 | { |
||
| 27 | $this->output->writeln('[|] Parsing class structure'); |
||
| 28 | } |
||
| 29 | |||
| 30 | public function runningProcessor(Processor $processor): void |
||
| 31 | { |
||
| 32 | $this->output->writeln("[|] Running '{$processor->name()}' processor"); |
||
| 33 | } |
||
| 34 | |||
| 35 | public function savingResult(): void |
||
| 38 | } |
||
| 39 | } |
||
| 40 |