Scope a query to only include records that are visible to a user.
registerVisibilityScoper($scoper, $ability = null)
scopeWhereVisibleTo(Builder $query, User $actor, string $ability = 'view')
Generated by Doctum, a API Documentation generator and fork of Sami.
Created by @datitisev. Source code can be found on GitHub.