Iteradores
PHP Manual

The AppendIterator class

(PHP 5 >= 5.1.0, PHP 7)

Introdução

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

Sinopse da classe

AppendIterator extends IteratorIterator implements OuterIterator {
/* Métodos */
public __construct ( void )
public void append ( Iterator $iterator )
public mixed current ( void )
public ArrayIterator getArrayIterator ( void )
public Iterator getInnerIterator ( void )
public int getIteratorIndex ( void )
public scalar key ( void )
public void next ( void )
public void rewind ( void )
public bool valid ( void )
/* Métodos herdados */
public mixed IteratorIterator::current ( void )
public Traversable IteratorIterator::getInnerIterator ( void )
public scalar IteratorIterator::key ( void )
public void IteratorIterator::next ( void )
public void IteratorIterator::rewind ( void )
public bool IteratorIterator::valid ( void )
}

Índice


Iteradores
PHP Manual