GroupManager
class GroupManager implements BasicEntityManagerInterface
Class GroupManager is injected as alligator.group.manager service. GroupManager handles the logic for entity.
Properties
| protected GroupRepository | $repository | ||
| protected GroupEventContainer | $container |
Methods
array
findAllGroups()
Get all groups
bool
getGroupById(int $id)
Get single group by id
mixed
getRolesTree()
Get formatted tree
Details
at line 39
__construct(GroupRepository $repository, GroupEventContainer $container)
at line 49
array
findAllGroups()
Get all groups
at line 111
bool
deleteGroup(Group $group, int $newParentId)
Remove group
at line 137
Group
getGroupById(int $id)
Get single group by id
at line 150
mixed
getRolesTree()
Get formatted tree