User::factory() Constructs a User object and also takes User models into account. kirby/src/Cms/User.php#L260 User::factory(mixed $props): Kirby\Cms\User Parameters Name Type Default $props * mixed – Return type Kirby\Cms\User Parent class Kirby\Cms\User