queue() 공개 메소드

Get a queue
public queue ( string $name ) : Queue
$name string Queue name
리턴 Disque\Queue\Queue Queue
예제 #1
0
 /**
  * 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);
 }