class EditUserHandler

Traits

Methods

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

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

__construct(Dispatcher $events, UserRepository $users, UserValidator $validator)

No description

handle(EditUser $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, UserRepository $users, UserValidator $validator)

Parameters

Dispatcher $events
UserRepository $users
UserValidator $validator

User handle(EditUser $command)

Parameters

EditUser $command

Return Value

User