class EditGroupHandler

Traits

Methods

void
dispatchEventsFor(mixed $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

void dispatchEventsFor(mixed $entity, User $actor = null)

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

Parameters

mixed $entity
User $actor

Return Value

void

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

Parameters

Dispatcher $events
GroupRepository $groups
GroupValidator $validator

Group handle(EditGroup $command)

Parameters

EditGroup $command

Return Value

Group