Skip to content

Kirby 4.2.0

Users::load()

Loads a user from disk by passing the absolute path (root)

Users::load(string $root, array $inject = [ ]): Kirby\Cms\Users

Parameters

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

Return type

Kirby\Cms\Users

Parent class

Kirby\Cms\Users