class GroupRepository
Methods
findOrFail(int $id, User $actor = null)
<p>Find a user by ID, optionally making sure it is visible to a certain user, or throw an exception.</p>
Builder
scopeVisibleTo(Builder $query, User $actor = null)
<p>Scope a query to only include records that are visible to a user.</p>