CodeUnitCollectionIterator
in package
implements
Iterator
FinalYes
Tags
Table of Contents
Interfaces
- Iterator
Properties
- $codeUnits : array<string|int, mixed>
- $position : int
Methods
Properties
$codeUnits
private
array<string|int, 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