Cron\Report\JobReport::getEndTime PHP Méthode

getEndTime() public méthode

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

Usage Example

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