class EditGroupHandler

Traits

Properties

protected Dispatcher $events from DispatchEventsTrait
protected GroupRepository $groups
protected GroupValidator $validator

Methods

dispatchEventsFor(object $entity, User $actor = null)

<p>Dispatch all events for an entity.</p>

__construct(Dispatcher $events, GroupRepository $groups, GroupValidator $validator)

No description

handle(EditGroup $command)

No description

Details

dispatchEventsFor(object $entity, User $actor = null)

<p>Dispatch all events for an entity.</p>

Parameters

object $entity
User $actor

__construct(Dispatcher $events, GroupRepository $groups, GroupValidator $validator)

Parameters

Dispatcher $events
GroupRepository $groups
GroupValidator $validator

Group handle(EditGroup $command)

Parameters

EditGroup $command

Return Value

Group

Exceptions

PermissionDeniedException