class
ScopeModelVisibility
deprecated
|
beta 15, remove beta 16 |
The ScopeModelVisibility
event allows constraints to be applied in a query
to fetch a model, effectively scoping that model's visibility to the user.
Properties
Builder
|
$query |
|
|
|
User
|
$actor |
|
|
|
string
|
$ability |
|
|
|
Methods
Details
__construct(Builder $query, User $actor, string $ability)