The OuterIterator interface

(PHP 5 >= 5.1.0, PHP 7)

简介

Classes implementing OuterIterator can be used to iterate over iterators.

接口摘要

OuterIterator extends Iterator {
/* 方法 */
public getInnerIterator ( void ) : Iterator
/* 继承的方法 */
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

关注编程学问公众号