Skip to content

Kirby 5.1.3

new Users()

Creates a new Collection with the given objects

new Users(iterable $objects = [ ], object|null $parent = null)

Parameters

Name Type Default Description
$objects iterable<TValue> [ ]
$parent objectornull null Stores the parent object,
which is needed in some collections
to get the finder methods right

Parent class

Kirby\Cms\Users inherited from Kirby\Cms\Collection