GenericQuadIterator
in package
implements
QuadIteratorInterface
Wrapper making almost anything (e.g. array, generator or a single Quad object) a QuadIterator.
Tags
Table of Contents
Interfaces
Properties
- $iter : Iterator<string|int, QuadInterface>
Methods
- __construct() : mixed
- current() : QuadInterface|null
- key() : mixed
- next() : void
- rewind() : void
- valid() : bool
Properties
$iter
private
Iterator<string|int, QuadInterface>
$iter
Methods
__construct()
public
__construct(array<string|int, QuadInterface>|Iterator<string|int, QuadInterface>|IteratorAggregate<string|int, QuadInterface>|QuadInterface $iter) : mixed
Parameters
- $iter : array<string|int, QuadInterface>|Iterator<string|int, QuadInterface>|IteratorAggregate<string|int, QuadInterface>|QuadInterface
current()
public
current() : QuadInterface|null
Return values
QuadInterface|nullkey()
public
key() : mixed
next()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool