new Files()
Creates a new Collection with the given objects
new Files(iterable $objects = [ ], object|null $parent = null)
Parameters
Name | Type | Default | Description |
---|---|---|---|
$objects | iterable |
[ ]
|
|
$parent | object ornull |
null
|
Stores the parent object, which is needed in some collections to get the finder methods right |
Parent class
Kirby\Cms\Files
inherited from Kirby\Cms\Collection