Skip to content

Kirby 5.0.4

$status->user()

Returns the currently logged in user

$status->user(): Kirby\Cms\User|null

Return types

Kirby\Cms\Userornull

This method modifies the existing $status object it is applied to and returns it again.

Parent class

Kirby\Cms\Auth\Status