public function onCommentChange(AbstractCommentEvent $event)
    {
        $comment = $event->getComment();

        $this
            ->commentCache
            ->invalidateCache(
                $comment->getSource(),
                $comment->getContext()
            );
    }
public function onCommentChange(AbstractCommentEvent $event)
    {
        $comment = $event->getComment();

        $this
            ->commentCache
            ->invalidateCache(
                $comment->getSource(),
                $comment->getContext()
            );
    }
public function onCommentChange ( AbstractCommentEvent $ event ) { $ comment = $ event -> getComment ( ) ; $ this -> commentCache -> invalidateCache ( $ comment -> getSource ( ) , $ comment -> getContext ( ) ) ; }
on Comment change.

@param AbstractCommentEvent $event Event
on Comment change .