Neos\Cache\Backend\PdoBackend::valid PHP Method

valid() public method

Checks if the current position of the cache entry iterator is valid.
public valid ( ) : boolean
return boolean TRUE if the current position is valid, otherwise FALSE
    public function valid()
    {
        if ($this->cacheEntriesIterator === null) {
            $this->rewind();
        }
        return $this->cacheEntriesIterator->valid();
    }