Skip to content

Kirby 5.0.4

$user->__call()

Modified getter to also return fields from the content

$user->__call(string $method, array $arguments = [ ]): mixed

Parameters

Name Type Default
$methodrequired string no default value
$arguments array [ ]

Return type

mixed

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

Parent class

Kirby\Cms\User