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