CodeUnitCollectionIterator
in package
implements
Iterator
FinalYes
Table of Contents
Interfaces
- Iterator
Properties
- $codeUnits : mixed
- $position : int
Methods
Properties
$codeUnits
private
mixed
$codeUnits
Tags
$position
private
int
$position
= 0
Methods
__construct()
public
__construct(CodeUnitCollection $collection) : mixed
Parameters
- $collection : CodeUnitCollection
current()
public
current() : CodeUnit
Return values
CodeUnitkey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool