| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | protected function execute(InputInterface $input, OutputInterface $output) { |
||
| 34 | $t = new Table($output); |
||
| 35 | $t->setHeaders(['Id', 'Job', 'Last run', 'Arguments']); |
||
| 36 | $this->jobList->listJobs(function (IJob $job) use ($t) { |
||
| 37 | $t->addRow([$job->getId(), \get_class($job), \date('c', $job->getLastRun()), $job->getArgument()]); |
||
| 38 | }); |
||
| 39 | $t->render(); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |