# 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 ( ) : Iterator
/* Inherited methods */
abstract public Iterator::current ( ) : mixed
abstract public Iterator::key ( ) : scalar
abstract public Iterator::next ( ) : void
abstract public Iterator::rewind ( ) : void
abstract public Iterator::valid ( ) : bool
}

## Table of Contents

- OuterIterator::getInnerIterator — Returns the inner iterator for the current entry