示例#1
0
文件: SaveReport.php 项目: t4web/cron
 public function __invoke(JobEndedEvent $e)
 {
     $report = $e->getReport();
     $this->logger->log($e->getJob()->getId(), $report->getStartTime(), $report->getEndTime(), $report->isSuccessful(), $report->getOutput(), $report->getError());
 }