Documentation

FileCollection
in package
implements Countable, IteratorAggregate

Read onlyYes
FinalYes
Tags
no-named-arguments

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

immutable
template-implements

IteratorAggregate<non-negative-int, File>

Table of Contents

Interfaces

Countable
IteratorAggregate

Properties

$files  : array<int, File>

Methods

asArray()  : array<int, File>
count()  : int
fromArray()  : self
getIterator()  : FileCollectionIterator
notEmpty()  : bool
__construct()  : mixed

Properties

Methods

fromArray()

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

Search results