(PHP 5 >= 5.1.0, PHP 7, PHP 8)
IteratorIterator::getInnerIterator — Get the inner iterator
public IteratorIterator::getInnerIterator(): ?Iterator
Get the inner iterator.
This function has no parameters.
The inner iterator as passed to IteratorIterator::__construct(), or null when there is no inner iterator.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/iteratoriterator.getinneriterator.php