TestCollectionIterator
in package
implements
Iterator
FinalYes
Tags
Table of Contents
Interfaces
- Iterator
Properties
Methods
Properties
$position
private
int
$position
= 0
non-negative-int
$tests read-only
private
array<int, Test>
$tests
Methods
__construct()
public
__construct(TestCollection $tests) : mixed
Parameters
- $tests : TestCollection
current()
public
current() : Test
Return values
Testkey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool