La classe NoRewindIterator

(PHP 5 >= 5.1.0, PHP 7)

Introduction

Cet itérateur ignore les opérations de remise à zéro. Ceci permet de traiter un itérateur dans plusieurs boucle foreach partielles.

Synopsis de la classe

NoRewindIterator extends IteratorIterator {
/* Méthodes */
public __construct ( Iterator $iterator )
public current ( ) : mixed
public key ( ) : mixed
public next ( ) : void
public rewind ( ) : void
public valid ( ) : bool
/* Méthodes héritées */
public IteratorIterator::next ( ) : void
public IteratorIterator::rewind ( ) : void
public IteratorIterator::valid ( ) : bool
}

Sommaire