CachingIterator implements IteratorAggregate
CachingIterator - Rewindable iterator wrapping generator.
Interfaces, Classes and Traits
- IteratorAggregate
Table of Contents
- __construct() : mixed
- Constructor.
- getIterator() : Iterator
Methods
__construct()
Constructor.
public
__construct(Iterator $iterator) : mixed
The constructor of CachingIterator.
Parameters
- $iterator : Iterator
Return values
mixed —getIterator()
public
getIterator() : Iterator