Skip to content

Kirby 4.5.0

$role->toArray()

Converts the most important role properties to an array

$role->toArray(): array

Return type

array

Parent class

Kirby\Cms\Role