TestCollection
in package
implements
Countable, IteratorAggregate
Read onlyYes
FinalYes
Tags
Table of Contents
Interfaces
- Countable
- IteratorAggregate
Properties
Methods
- asArray() : array<int, Test>
- count() : int
- fromArray() : self
- getIterator() : TestCollectionIterator
- __construct() : mixed
Properties
$tests
private
array<int, Test>
$tests
Methods
asArray()
public
asArray() : array<int, Test>
Return values
array<int, Test>count()
public
count() : int
Return values
intfromArray()
public
static fromArray(array<int, Test> $tests) : self
Parameters
- $tests : array<int, Test>
Return values
selfgetIterator()
public
getIterator() : TestCollectionIterator
Return values
TestCollectionIterator__construct()
private
__construct(Test ...$tests) : mixed
Parameters
- $tests : Test