/** * [Handle the command] * @param [type] $command [description] * @return [type] [description] */ public function handle($command) { $status = Status::publish($command->body); $status = $this->statusRepository->save($status, $command->userId); $this->dispatchEventsFor($status); return $status; }