Метод | Описание | |
---|---|---|
__construct ( array $iterators, callable $callback ) | ||
current ( ) : mixed | Return the current element | |
key ( ) : mixed | Return the key of the current element Note: You should not rely on the key, unless the key tracks information from which iterator it comes | |
next ( ) : void | Move forward to next element | |
rewind ( ) | Rewind the Iterator to the first element | |
valid ( ) : boolean | Checks if current position is valid |
Метод | Описание | |
---|---|---|
nextIterator ( ) : Iterator |
public __construct ( array $iterators, callable $callback ) | ||
$iterators | array | |
$callback | callable |