PlatformPermission
in
Interface PlatformPermission.
Table of Contents
Methods
- assignRoleWithPivot() : $this
- Assign the given role to the model.
- rolesHasValuePermissions() : BelongsToMany
- A permission can be applied to roles.
Methods
assignRoleWithPivot()
Assign the given role to the model.
public
assignRoleWithPivot(array<string, mixed> $params) : $this
Parameters
- $params : array<string, mixed>
Return values
$thisrolesHasValuePermissions()
A permission can be applied to roles.
public
rolesHasValuePermissions() : BelongsToMany