Cron\Report\JobReport::getEndTime PHP Method

getEndTime() public method

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

Usage Example

コード例 #1
0
ファイル: AbstractProcessJob.php プロジェクト: astartsky/cron
 /**
  * Register the end of a job to the report.
  */
 protected function registerEnd()
 {
     if (is_null($this->report->getEndTime())) {
         $this->report->setEndTime(microtime(true));
     }
 }