IteratorAggregateTrait
A generic implementation of the IteratorAggregate interface.
Internally it iterates over the protected $_data
array.
Tags
Table of Contents
Methods
- getIterator() : ArrayIterator<string|int, TValue>
- Retrieve an external iterator.
Methods
getIterator()
Retrieve an external iterator.
public
getIterator() : ArrayIterator<string|int, TValue>
APIYes
Return values
ArrayIterator<string|int, TValue> —New iterator for the data array