The InternalIterator class
(PHP 8)
Introduction
Class to ease implementing IteratorAggregate for internal classes.
Table of Contents
- InternalIterator::__construct — Private constructor to disallow direct instantiation
- InternalIterator::current — Return the current element
- InternalIterator::key — Return the key of the current element
- InternalIterator::next — Move forward to next element
- InternalIterator::rewind — Rewind the Iterator to the first element
- InternalIterator::valid — Check if current position is valid
↑ and ↓ to navigate • Enter to select • Esc to close • / to open