The AppendIterator class

(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 ( void )
public append ( Iterator $iterator ) : void
public current ( void ) : mixed
public getArrayIterator ( void ) : ArrayIterator
public getInnerIterator ( void ) : Iterator
public getIteratorIndex ( void ) : int
public key ( void ) : scalar
public next ( void ) : void
public rewind ( void ) : void
public valid ( void ) : bool
/* Inherited methods */
public IteratorIterator::current ( void ) : mixed
public IteratorIterator::key ( void ) : mixed
public IteratorIterator::next ( void ) : void
public IteratorIterator::rewind ( void ) : void
public IteratorIterator::valid ( void ) : bool
}

Table of Contents