Method | Description | |
---|---|---|
constrainWhereAssignedTo ( |
Constrain the given roles query to those that were assigned to the given authorities. | |
constrainWhereIs ( |
Constrain the given query by the provided role. | |
constrainWhereIsAll ( |
Constrain the given query by all provided roles. |
public constrainWhereAssignedTo ( |
||
$query | ||
$model | string | |
|
$keys | array | |
return | void |
public constrainWhereIs ( |
||
$query | ||
$role | string | |
return |
public constrainWhereIsAll ( |
||
$query | ||
$role | string | |
return |