/**
  * Delete the job from the queue.
  *
  * @return void
  */
 public function delete()
 {
     parent::delete();
     $this->database->deleteReserved($this->queue, $this->job->id);
 }
예제 #2
0
 /**
  * Delete a reserved job from the queue.
  *
  * @param string $queue
  * @param string $id
  * @return void 
  * @static 
  */
 public static function deleteReserved($queue, $id)
 {
     \Illuminate\Queue\DatabaseQueue::deleteReserved($queue, $id);
 }