1 | <?php |
||
16 | class Console extends AbstractOutput implements HTMLOutputInterface |
||
17 | { |
||
18 | /** |
||
19 | * @codeCoverageIgnore impossible to test as writes to php://stdout |
||
20 | */ |
||
21 | public function render() |
||
25 | |||
26 | /** |
||
27 | * @param Benchmark $benchmark |
||
28 | * @param Table $table |
||
29 | * @param TableSeparator $tableSeparator |
||
30 | * @return Console |
||
31 | */ |
||
32 | 1 | public static function output(Benchmark $benchmark, Table $table = null, TableSeparator $tableSeparator = null) |
|
41 | |||
42 | /** |
||
43 | * @param Table $table |
||
44 | * @param TableSeparator $tableSeparator |
||
45 | * @param array $rows |
||
46 | */ |
||
47 | 1 | protected static function loopRows(Table $table, TableSeparator $tableSeparator, array $rows) |
|
54 | |||
55 | /** |
||
56 | * @param Table $table |
||
57 | * @param array $metrics |
||
58 | * @param null|string $name |
||
59 | * @return Table |
||
60 | */ |
||
61 | 1 | protected static function addRow(Table $table, array $metrics, $name = null) |
|
70 | } |
||
71 |