Автор: Dries De Peuter (dries@nousefreak.be)
Наследование: implements Cron\Report\ReportInterface
Пример #1
0
 /**
  * @param CronReport $report
  */
 protected function startProcesses(CronReport $report)
 {
     foreach ($this->sets as $set) {
         $report->addJobReport($set->getReport());
         $set->run();
     }
 }
Пример #2
0
 /**
  * @param CronReport $report
  */
 protected function startProcesses(CronReport $report)
 {
     foreach ($this->jobs as $job) {
         $report->addJobReport($job->getReport());
         // :) brilliantly
         $job->run($job->getReport());
     }
 }