/** * Receives a single Cron job defined by its id from crontab * * @param Int $id * @return null|Enlight_Components_Cron_Job */ public function getJobById($id) { $retVal = $this->adapter->getJobById((int) $id); if (empty($retVal)) { return null; } return $retVal; }