| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function printLogs(\Generator $avgTimes) |
||
| 38 | { |
||
| 39 | $table = new Table($this->output); |
||
| 40 | $table->setHeaders(['Average execution Time', 'Called count', 'Total Cost', 'Step name']); |
||
| 41 | foreach ($avgTimes as $stepName => $info) { |
||
| 42 | $table->addRow([$info['avg_execution_time'], $info['total_executions'], $info['total_cost'], $stepName]); |
||
| 43 | } |
||
| 44 | $table->render(); |
||
| 45 | } |
||
| 47 |