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