Cron\Report\JobReport::getEndTime PHP Method

getEndTime() public method

public getEndTime ( ) : float
return float
    public function getEndTime()
    {
        return $this->endTime;
    }

Usage Example

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