public function renderComment(Event $event, $comment, $options = [])
    {
        $View = $event->subject();
        $html = $View->element('Comment.render_comment', compact('comment', 'options'));

        return $html;
    }
public function renderComment(Event $event, $comment, $options = [])
    {
        $View = $event->subject();
        $html = $View->element('Comment.render_comment', compact('comment', 'options'));

        return $html;
    }
public function renderComment ( Event $ event , $ comment , $ options = [ ] ) { $ View = $ event -> subject ( ) ; $ html = $ View -> element ( 'Comment.render_comment' , compact ( 'comment' , 'options' ) ) ; return $ html ; }
Renders a single Comment.

@param Event $event The event that was triggered
@param \Comment\Model\Entity\Comment $comment The comment entity to render
@param array $options Additional options given as an array
@return string HTML
Renders a single Comment .