public function FileQueue::__destruct in Purge 8.3
Trigger a disk commit when the object is destructed.
File
- src/
Plugin/ Purge/ Queue/ FileQueue.php, line 117
Class
- FileQueue
- A \Drupal\purge\Plugin\Purge\Queue\QueueInterface compliant file-based queue.
Namespace
Drupal\purge\Plugin\Purge\QueueCode
public function __destruct() {
if ($this->bufferInitialized) {
$this
->bufferCommit();
}
}