$user->roles()
Returns the roles that the authenticated user may assign to this user via a role change.
$user->roles(): Kirby\Cms\Roles
Return type
This method modifies the existing $user object it is applied to and returns it again.
Returns the roles that the authenticated user may assign to this user via a role change.
$user->roles(): Kirby\Cms\Roles
This method modifies the existing $user object it is applied to and returns it again.