Get the inner iterator

# IteratorIterator::getInnerIterator

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

IteratorIterator::getInnerIterator — Get 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.

### See Also

- Iterator
- OuterIterator

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