CodeExplorer isJobStillOverdue example
$this->allJobsList =
$this->
getAllJobs();
} return array_pop($this->allJobsList
);
} if (!
$this->overdueJobsList
) { $this->overdueJobsList =
$this->
getOverdueJobs();
} while (($nextJob =
array_pop($this->overdueJobsList
)) !== null
) { if ($this->
isJobStillOverdue($nextJob->
getId())) { return $nextJob;
} } return null;
} /**
* {@inheritdoc}
*/
public function getJobById($id) {