Skip to content

Kirby 4.5.0

Role::load()

Role::load(string $file, array $inject = [ ]): Kirby\Cms\Role

Parameters

Name Type Default
$file * string
$inject array [ ]

Return type

Kirby\Cms\Role

Parent class

Kirby\Cms\Role