You are here

public function MemoryQueue::deleteQueue in Purge 8.3

Deletes a queue and every item in the queue.

Overrides QueueInterface::deleteQueue

1 call to MemoryQueue::deleteQueue()
FileQueue::deleteQueue in src/Plugin/Purge/Queue/FileQueue.php
Deletes a queue and every item in the queue.
1 method overrides MemoryQueue::deleteQueue()
FileQueue::deleteQueue in src/Plugin/Purge/Queue/FileQueue.php
Deletes a queue and every item in the queue.

File

src/Plugin/Purge/Queue/MemoryQueue.php, line 199

Class

MemoryQueue
A QueueInterface compliant volatile memory buffer queue.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function deleteQueue() {
  $this
    ->bufferInitialize();
  $this->buffer = [];
}