GroupRepository
class GroupRepository implements GroupRepositoryInterface
Group repository.
Properties
protected string | $model | Model name. | |
protected string | $identifier | Group identifier. |
Methods
__construct(string $model)
Constructor.
createGroup(array $properties = [])
No description
setIdentifier(string $identifier)
Sets the user identifier.
Group|null
getByIdentifier($identifier)
No description
Details
at line 44
__construct(string $model)
Constructor.
at line 54
protected Group
getModel()
Returns a model instance.
at line 23
Group
createGroup(array $properties = [])
at line 83
setIdentifier(string $identifier)
Sets the user identifier.
at line 99
Group|null
getByName(string $name)
Fetches a group by its name.
at line 110
Group|null
getById(int $id)
Fetches a group by its id.