public function dispatchCommentOnVotedEvent(
        CommentInterface $comment,
        VoteInterface $vote,
        $edited
    ) {
        $event = new CommentOnVotedEvent(
            $comment,
            $vote,
            $edited
        );

        $this
            ->eventDispatcher
            ->dispatch(ElcodiCommentEvents::COMMENT_ONVOTED, $event);

        return $this;
    }
public function dispatchCommentOnVotedEvent(
        CommentInterface $comment,
        VoteInterface $vote,
        $edited
    ) {
        $event = new CommentOnVotedEvent(
            $comment,
            $vote,
            $edited
        );

        $this
            ->eventDispatcher
            ->dispatch(ElcodiCommentEvents::COMMENT_ONVOTED, $event);

        return $this;
    }
public function dispatchCommentOnVotedEvent ( CommentInterface $ comment , VoteInterface $ vote , $ edited ) { $ event = new CommentOnVotedEvent ( $ comment , $ vote , $ edited ) ; $ this -> eventDispatcher -> dispatch ( ElcodiCommentEvents :: COMMENT_ONVOTED , $ event ) ; return $ this ; }
Dispatch Comment voted event.

@param CommentInterface $comment Comment
@param VoteInterface    $vote    Vote
@param bool             $edited  Vote is edition of one already added

@return $this Self object
Dispatch Comment voted event .