# The OuterIterator interface

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

## 简介

Classes implementing OuterIterator can be used to iterate over iterators.

## 接口摘要

interface OuterIterator extends Iterator {
/* 方法 */
public function getInnerIterator(): ?Iterator
/* 继承的方法 */
public function Iterator::current(): mixed
public function Iterator::key(): mixed
public function Iterator::next(): void
public function Iterator::rewind(): void
public function Iterator::valid(): bool
}

## 目录

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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open