TestDataCollectionIterator
in package
implements
Iterator
FinalYes
Tags
Table of Contents
Interfaces
- Iterator
Properties
Methods
Properties
$data read-only
private
array<string|int, mixed>
$data
Tags
$position
private
int
$position
= 0
Methods
__construct()
public
__construct(TestDataCollection $data) : mixed
Parameters
- $data : TestDataCollection
current()
public
current() : TestData
Return values
TestDatakey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool