PlatformRole
in
Table of Contents
Methods
- getPermissionValue() : mixed
- Determine if the user may perform the given permission.
- hasPermissionValue() : bool
- Determine if the user may perform the given permission.
Methods
getPermissionValue()
Determine if the user may perform the given permission.
public
getPermissionValue(string|Permission $permission) : mixed
Parameters
- $permission : string|Permission
Tags
hasPermissionValue()
Determine if the user may perform the given permission.
public
hasPermissionValue(string|Permission $permission) : bool
Parameters
- $permission : string|Permission