You are here

public function FileQueue::destruct in Purge 8.3

Overrides DestructableInterface::destruct

See also

\Drupal\purge\Plugin\Purge\Queue\QueueService::reload()

File

src/Plugin/Purge/Queue/FileQueue.php, line 108

Class

FileQueue
A \Drupal\purge\Plugin\Purge\Queue\QueueInterface compliant file-based queue.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function destruct() {
  if ($this->bufferInitialized) {
    $this
      ->bufferCommit();
  }
}