CodeUnitCollectionIterator
implements
Iterator
Interfaces, Classes, Traits and Enums
- Iterator
Table of Contents
-
$codeUnits
: mixed
-
$position
: int
-
__construct()
: mixed
-
current()
: CodeUnit
-
key()
: int
-
next()
: void
-
rewind()
: void
-
valid()
: bool
$codeUnits
private
mixed
$codeUnits
-
psalm-var
-
$position
private
int
$position
= 0
__construct()
public
__construct(CodeUnitCollection $collection) : mixed
Parameters
-
$collection
: CodeUnitCollection
-
Return values
mixed
—
current()
public
current() : CodeUnit
Return values
CodeUnit
—
key()
public
key() : int
Return values
int
—
next()
public
next() : void
Return values
void
—
rewind()
public
rewind() : void
Return values
void
—
valid()
public
valid() : bool
Return values
bool
—