1 | <?php |
||
12 | class ProcessPrinter |
||
13 | { |
||
14 | /** @var SingleResultFormatter */ |
||
15 | private $singleResultFormatter; |
||
16 | |||
17 | /** @var OutputInterface */ |
||
18 | private $output; |
||
19 | |||
20 | /** @var int */ |
||
21 | private $counter = 0; |
||
22 | |||
23 | /** |
||
24 | * ProcessPrinter constructor. |
||
25 | * @param SingleResultFormatter $singleResultFormatter |
||
26 | */ |
||
27 | 14 | public function __construct(SingleResultFormatter $singleResultFormatter) |
|
31 | |||
32 | /** |
||
33 | * @param ProcessEvent $processEvent |
||
34 | */ |
||
35 | 14 | public function onProcessTerminated(ProcessEvent $processEvent) |
|
53 | |||
54 | /** |
||
55 | * @param string $singleTestResult |
||
56 | */ |
||
57 | 14 | private function printFormattedWithCounter($singleTestResult) |
|
69 | } |
||
70 |