Cron\Report\CronReport::addJobReport PHP Méthode

addJobReport() public méthode

public addJobReport ( JobReport $report )
$report JobReport
    public function addJobReport(JobReport $report)
    {
        $this->taskReports[] = $report;
    }

Usage Example

Exemple #1
0
 /**
  * @param CronReport $report
  */
 protected function startProcesses(CronReport $report)
 {
     foreach ($this->sets as $set) {
         $report->addJobReport($set->getReport());
         $set->run();
     }
 }
All Usage Examples Of Cron\Report\CronReport::addJobReport