/** * Mark a job as failed * * @access public * @param Job $job * @return $this */ public function failed(Job $job) { $this->disque->queue($this->queueName)->failed(new DisqueJob($job->getBody(), $job->getId())); return $this; }
/** * @param $name * @return \Disque\Queue\Queue */ public function queue($name) { return $this->disque->queue($name); }