Method |
Description |
|
assignTo ( string | Model | Illuminate\Database\Eloquent\Collection $model, array $keys = null ) |
Assign the role to the given model(s). |
|
getClipboardInstance ( ) |
|
|
retractFrom ( string | Model | Illuminate\Database\Eloquent\Collection $model, array $keys = null ) |
Retract the role from the given model(s). |
|
scopeWhereAssignedTo ( Builder $query, string | Model | Illuminate\Database\Eloquent\Collection $model, array $keys = null ) : void |
Constrain the given query to roles that were assigned to the given authorities. |
|
users ( ) : Illuminate\Database\Eloquent\Relations\MorphedByMany |
The users relationship. |
|