Method |
Description |
|
__construct ( array | Iterator | IteratorAggregate $data, callable $map ) |
Constructor. |
|
count ( ) : integer |
Returns count of source data. |
|
current ( ) : mixed |
Returns current data. |
|
getInnerIterator ( ) : Iterator |
Returns inner iterator (works even when constructed with array data) |
|
key ( ) : integer |
Returns current key. |
|
next ( ) |
Advances the internal pointer. |
|
rewind ( ) |
Rewinds the iterator to the beginning. |
|
seek ( integer $position ) |
Seeks to defined position. Does NOT throw {@link \OutOfBoundsException}. |
|
toArray ( ) : array |
Returns all data as an array. |
|
valid ( ) : boolean |
Returns if current pointer position is valid. |
|