Documentation

TestCollection
in package
implements Countable, IteratorAggregate

Read onlyYes
FinalYes
Tags
template-implements

IteratorAggregate<non-negative-int, Test>

immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Interfaces

Countable
IteratorAggregate

Properties

$tests  : array<int, Test>

Methods

asArray()  : array<int, Test>
count()  : int
fromArray()  : self
getIterator()  : TestCollectionIterator
__construct()  : mixed

Properties

Methods

fromArray()

public static fromArray(array<int, Test$tests) : self
Parameters
$tests : array<int, Test>
Return values
self
On this page

Search results