| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 70 | public function run() |
||
| 71 | { |
||
| 72 | $this->output = []; |
||
| 73 | |||
| 74 | foreach ($this->getTasksDue() as $task) { |
||
| 75 | $result = $task->run(); |
||
| 76 | $this->output[] = [ |
||
| 77 | 'task' => get_class($task), |
||
| 78 | 'result' => $result, |
||
| 79 | 'output' => $task->getOutput(), |
||
| 80 | ]; |
||
| 81 | } |
||
| 82 | |||
| 83 | return $this->output; |
||
| 84 | } |
||
| 85 | } |
||
| 86 |