Skip to content

Kirby 4.2.0

Role::factory()

Role::factory(array $props, array $inject = [ ]): Kirby\Cms\Role

Parameters

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

Return type

Kirby\Cms\Role

Parent class

Kirby\Cms\Role