1 | <?php |
||
8 | abstract class Channel implements AfterTestHook, AfterLastTestHook |
||
9 | { |
||
10 | protected $tests = []; |
||
11 | |||
12 | protected $rows; |
||
13 | |||
14 | public function __construct(int $rows = 5) |
||
18 | |||
19 | public function executeAfterTest(string $test, float $time): void |
||
23 | |||
24 | protected function timeToMiliseconds(float $time) |
||
28 | |||
29 | public function executeAfterLastTest(): void |
||
35 | |||
36 | protected function sortTestsBySpeed(): void |
||
40 | |||
41 | abstract protected function printResults(): void; |
||
42 | |||
43 | protected function testsToPrint(): array |
||
47 | |||
48 | protected function getClassName(): string |
||
52 | } |