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