public function dispatchCommentPreRemoveEvent(CommentInterface $comment)
    {
        $event = new CommentPreRemoveEvent(
            $comment
        );

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

        return $this;
    }
public function dispatchCommentPreRemoveEvent(CommentInterface $comment)
    {
        $event = new CommentPreRemoveEvent(
            $comment
        );

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

        return $this;
    }
public function dispatchCommentPreRemoveEvent ( CommentInterface $ comment ) { $ event = new CommentPreRemoveEvent ( $ comment ) ; $ this -> eventDispatcher -> dispatch ( ElcodiCommentEvents :: COMMENT_PREREMOVE , $ event ) ; return $ this ; }
Dispatch Comment pre removed event.

@param CommentInterface $comment Comment

@return $this Self object
Dispatch Comment pre removed event .