The NoRewindIterator class

Introduction

This iterator ignores rewind operations. This allows processing an iterator in multiple partial foreach loops.

Class synopsis

NoRewindIterator
extends IteratorIterator
/* Methods */
public NoRewindIterator::__construct(Iterator $iterator)
public mixed NoRewindIterator::current()
public mixed NoRewindIterator::key()
public void NoRewindIterator::next()
public void NoRewindIterator::rewind()
public bool NoRewindIterator::valid()
/* Inherited methods */
public mixed current()
public Iteratornull getInnerIterator()
public mixed key()
public void next()
public void rewind()
public bool valid()
Table of Contents