class GroupRepository
Methods
findOrFail(string|int $id, User|null $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|null $actor = null)
<p>Scope a query to only include records that are visible to a user.</p>
Details
at
line 20
Group>
query()
at
line 31
Group
findOrFail(string|int $id, User|null $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 38
Builder
queryVisibleTo(User|null $actor = null)
at
line 50
protected Builder
scopeVisibleTo(Builder $query, User|null $actor = null)
<p>Scope a query to only include records that are visible to a user.</p>