| 1 | <?php |
||
| 12 | class RangeIterator extends IteratorIterator |
||
| 13 | { |
||
| 14 | use Common\RangeIterator; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var int |
||
| 18 | */ |
||
| 19 | private $position = 0; |
||
| 20 | |||
| 21 | public function __construct(IIterator $iterator, $startAmount, $rangeAmount) |
||
| 26 | |||
| 27 | public function doRewind() |
||
| 32 | |||
| 33 | protected function doFetch() |
||
| 47 | } |
||
| 48 |