TestFileCollectionIterator
in package
implements
Countable, Iterator
FinalYes
Tags
Table of Contents
Interfaces
- Countable
- Iterator
Properties
Methods
- __construct() : mixed
- count() : int
- current() : TestFile
- key() : int
- next() : void
- rewind() : void
- valid() : bool
Properties
$files read-only
private
array<string|int, mixed>
$files
Tags
$position
private
int
$position
= 0
Methods
__construct()
public
__construct(TestFileCollection $files) : mixed
Parameters
- $files : TestFileCollection
count()
public
count() : int
Return values
intcurrent()
public
current() : TestFile
Return values
TestFilekey()
public
key() : int
Return values
intnext()
public
next() : void
rewind()
public
rewind() : void
valid()
public
valid() : bool