You are here

public function TxBuffer::valid in Purge 8.3

See also

http://php.net/manual/en/iterator.valid.php

File

src/Plugin/Purge/Queue/TxBuffer.php, line 191

Class

TxBuffer
Provides the transaction buffer.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function valid() {
  return is_null(key($this->instances)) ? FALSE : TRUE;
}