Example #1
0
 /**
  * Marks the job as failed and returns it to the queue
  *
  * This increases the NACK counter of the job
  *
  * @param JobInterface $job
  */
 public function failed(JobInterface $job)
 {
     $this->checkConnected();
     $this->client->nack($job->getId());
 }