IteratorIterator::getInnerIterator

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

IteratorIterator::getInnerIteratorGet the inner iterator

Description

public IteratorIterator::getInnerIterator(): ?Iterator

Get the inner iterator.

Parameters

This function has no parameters.

Return Values

The inner iterator as passed to IteratorIterator::__construct(), or null when there is no inner iterator.