Свойство | Type | Description | |
---|---|---|---|
$table | string | The name of the abilities table. |
Méthode | Description | |
---|---|---|
__construct ( ) | Constructor. | |
constrain ( |
Constrain a query to an ability for a specific model or wildcard. |
Méthode | Description | |
---|---|---|
abilitySubqueryConstraint ( |
Get the constraint for the ability subquery. | |
constrainByModel ( |
Constrain a query to an ability for a specific model. | |
constrainByWildcard ( |
Constrain a query to a model wiildcard. |
protected abilitySubqueryConstraint ( |
||
$model | ||
$strict | boolean | |
Résultat | Closure |
protected constrainByModel ( |
||
$query | ||
$model | ||
$strict | boolean | |
Résultat | void |
protected constrainByWildcard ( |
||
$query | ||
$strict | boolean | |
Résultat | void |
protected string $table | ||
Résultat | string |