TakeIterator
extends DelegatingIterator
in package
An iterator that contains a subset of the elements in another iterator.
It is returned by calls to Iterator::take()
.
Table of Contents
Methods
- __construct() : mixed
- Constructor
Methods
__construct()
Constructor
public
__construct( $iterator, $n) : mixed