Predis\Collection\Iterator\CursorBasedIterator::reset PHP 메소드

reset() 보호된 메소드

Resets the inner state of the iterator.
protected reset ( )
    protected function reset()
    {
        $this->valid = true;
        $this->fetchmore = true;
        $this->elements = array();
        $this->cursor = 0;
        $this->position = -1;
        $this->current = null;
    }