class ScopeModelVisibility

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

Model $model
Builder $query
User $actor

Methods

__construct(Model $model, Builder $query, User $actor)

No description

Details

__construct(Model $model, Builder $query, User $actor)

Parameters

Model $model
Builder $query
User $actor