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>
Group>
scopeVisibleTo(Builder $query, User|null $actor = null)
<p>Scope a query to only include records that are visible to a user.</p>
Details
at
line 22
Group>
query()
<p>Get a new query builder for the groups table.</p>
at
line 37
Group
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>
at
line 44
queryVisibleTo(User|null $actor = null)
at
line 56
protected Group>
scopeVisibleTo(Builder $query, User|null $actor = null)
<p>Scope a query to only include records that are visible to a user.</p>