$user->toArray() Converts the most important user properties to an array kirby/src/Cms/User.php#L808 $user->toArray(): array Return type array Parent class Kirby\Cms\User