$user->roles()
Returns all available roles for this user, that the authenticated user can change to.
$user->roles(): Kirby\Cms\Roles
Return type
This method modifies the existing $user
object it is applied to and returns it again.
Returns all available roles for this user, that the authenticated user can change to.
$user->roles(): Kirby\Cms\Roles
This method modifies the existing $user
object it is applied to and returns it again.