TestFileCollection
in package
implements
Countable, IteratorAggregate
FinalYes
Tags
Table of Contents
Interfaces
- Countable
- IteratorAggregate
Properties
- $files : array<string|int, mixed>
Methods
- asArray() : array<string|int, mixed>
- count() : int
- fromArray() : self
- getIterator() : TestFileCollectionIterator
- isEmpty() : bool
- __construct() : mixed
Properties
$files read-only
private
array<string|int, mixed>
$files
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> $files) : self
Parameters
- $files : array<string|int, mixed>
Tags
Return values
selfgetIterator()
public
getIterator() : TestFileCollectionIterator
Return values
TestFileCollectionIteratorisEmpty()
public
isEmpty() : bool
Return values
bool__construct()
private
__construct(TestFile ...$files) : mixed
Parameters
- $files : TestFile