Skip to content

Kirby 4.5.0

Users::factory()

Takes an array of user props and creates a nice and clean user collection from it

Users::factory(array $users, array $inject = [ ]): Kirby\Cms\Users

Parameters

Name Type Default
$users * array
$inject array [ ]

Return type

Kirby\Cms\Users

Parent class

Kirby\Cms\Users