/** * Return next job from the queue. * @return Job */ public function fetch() { return $this->strategy->fetch(); }
/** * Return next job from the queue. * @return Job|boolean The job fetched or false if not found. */ protected function fetchJob() { return $this->strategy->fetch(); }