コード例 #1
0
 /**
  * Delete the job from the queue.
  *
  * @return void
  */
 public function delete()
 {
     parent::delete();
     if (isset($this->job->pushed)) {
         return;
     }
     $this->iron->deleteMessage($this->getQueue(), $this->job->id);
 }
コード例 #2
0
 /**
  * Delete the job from the queue.
  *
  * @return void
  */
 public function delete()
 {
     parent::delete();
     if (isset($this->job->pushed)) {
         return;
     }
     $reservation_id = property_exists($this->job, 'reservation_id') ? $this->job->reservation_id : null;
     $this->iron->deleteMessage($this->getQueue(), $this->job->id, $reservation_id);
 }