Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
38 | public function printLogs(array $calledCounts, array $avgTimes) |
||
39 | { |
||
40 | $table = new Table($this->output); |
||
41 | $table->setHeaders(['Average execution Time', 'Called count', 'Step name']); |
||
42 | foreach ($avgTimes as $stepName => $time) { |
||
43 | $table->addRow([$time, $calledCounts[$stepName], $stepName]); |
||
44 | } |
||
45 | $table->render(); |
||
46 | } |
||
47 | } |