getParsedBody(); $this->setCommandFields($getUserCommand, $requestBody); return $getUserCommand; } /** * @param DomainEventBus $eventBus * @param CommandResult $result * * @return void */ protected function emitSuccessEvent(DomainEventBus $eventBus, CommandResult $result) { $eventBus->emit('provider.returned', $result); } }