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