Php/docs/class.appenditerator

From Get docs

(PHP 5 >= 5.1.0, PHP 7)

Introduction

An Iterator that iterates over several iterators one after the other.


Class synopsis


AppendIterator extends IteratorIterator implements OuterIterator {

/* Methods */

public __construct ( )

public append ( Iterator $iterator ) : void

public current ( ) : mixed

public getInnerIterator ( ) : Iterator

public getIteratorIndex ( ) : int

public key ( ) : scalar

public next ( ) : void

public rewind ( ) : void

public valid ( ) : bool

/* Inherited methods */

public IteratorIterator::next ( ) : void

public IteratorIterator::rewind ( ) : void

public IteratorIterator::valid ( ) : bool

}

Table of Contents