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