SunshinePHP 2020 CFP Started

The OuterIterator interface

(PHP 5 >= 5.1.0, PHP 7)

Introduction

Classes implementing OuterIterator can be used to iterate over iterators.

Interface synopsis

OuterIterator extends Iterator {
/* Methods */
public getInnerIterator ( void ) : Iterator
/* Inherited methods */
abstract public Iterator::current ( void ) : mixed
abstract public Iterator::key ( void ) : scalar
abstract public Iterator::next ( void ) : void
abstract public Iterator::rewind ( void ) : void
abstract public Iterator::valid ( void ) : bool
}

Table of Contents

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top