The AppendIterator class

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

Introduction

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

Class synopsis

class AppendIterator extends IteratorIterator {
/* Methods */
public __construct()
public append(Iterator $iterator): void
public current(): mixed
public key(): scalar
public next(): void
public rewind(): void
public valid(): bool
/* Inherited methods */
}

Table of Contents