public function handle($command)
    {
        $message = $this->message->send($command->conversation, $command->body, $command->senderId, $command->type);

        $this->dispatcher->dispatch($this->message->releaseEvents());

        return $message;
    }
public function handle($command)
    {
        $message = $this->message->send($command->conversation, $command->body, $command->senderId, $command->type);

        $this->dispatcher->dispatch($this->message->releaseEvents());

        return $message;
    }
public function handle ( $ command ) { $ message = $ this -> message -> send ( $ command -> conversation , $ command -> body , $ command -> senderId , $ command -> type ) ; $ this -> dispatcher -> dispatch ( $ this -> message -> releaseEvents ( ) ) ; return $ message ; }
Triggers sending the message.

@param  $command  The command

@return Message
Triggers sending the message .