public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/** * Register the end of a job to the report. */ protected function registerEnd() { if (is_null($this->report->getEndTime())) { $this->report->setEndTime(microtime(true)); } }