PHP: OuterIterator - Manual
The OuterIterator interface
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Introduction
Classes implementing OuterIterator can be used to iterate over iterators.
Interface synopsis
interface OuterIterator extends Iterator {
/* Methods */
public getInnerIterator(): ?Iterator
/* Inherited methods */
public Iterator::current(): mixed
public Iterator::key(): mixed
public Iterator::next(): void
public Iterator::rewind(): void
public Iterator::valid(): bool
}
Table of Contents
- OuterIterator::getInnerIterator — Returns the inner iterator for the current entry
Found A Problem?
User Contributed Notes
There are no user contributed notes for this page.