DeleteGroupCommandHandler
class DeleteGroupCommandHandler (View source)
Properties
protected Connection | $connection | ||
protected EventDispatcher | $dispatcher | ||
protected GroupRepository | $groupRepository | ||
protected EntityManager | $entityManager | ||
protected RequestCache | $requestCache |
Methods
__construct(GroupRepository $groupRepository, Connection $connection, EventDispatcher $dispatcher, EntityManager $entityManager, RequestCache $requestCache)
No description
Result|bool
Group|null
bool
processChildGroups(DeleteGroupCommand $command, Group $group, Group $groupNode, Result $result)
No description
void
cleanupReferences(int $groupID)
No description
Details
__construct(GroupRepository $groupRepository, Connection $connection, EventDispatcher $dispatcher, EntityManager $entityManager, RequestCache $requestCache)
No description
Result|bool
__invoke(DeleteGroupCommand $command)
No description
private Group|null
checkDeletableGroup(int $groupID, bool $mustBeWithoutMembers, Result $result)
No description
private bool
processChildGroups(DeleteGroupCommand $command, Group $group, Group $groupNode, Result $result)
No description
private void
cleanupReferences(int $groupID)
No description