menu 8 Menu Overview $user->toArray() Converts the most important user properties to an array $user->toArray(): array Return type array Source code kirby/src/Cms/User.php#L882