TakeIterator
in package
implements
Iterator
take イテレータ。
Tags
Table of Contents
Interfaces
- Iterator
Properties
Methods
- __construct() : mixed
- 生成
- current() : mixed
- key() : mixed
- next() : void
- rewind() : void
- valid() : bool
Properties
$count read-only
private
int
$count
$iterator
private
Iterator
$iterator
$position
private
int
$position
= 0
Methods
__construct()
生成
public
__construct(Iterator $iterator, int $count) : mixed
Parameters
- $iterator : Iterator
- $count : int
Tags
current()
public
current() : mixed
key()
public
key() : mixed
next()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool