Skip to content

Kirby 4.4.1

$user->toArray()

Converts the most important user properties to an array

$user->toArray(): array

Return type

array

Parent class

Kirby\Cms\User