public function renderStars(Comment $comment) { if (!$this->options['useStars']) { return ''; } if (!$comment->stars) { return ''; } $commentStars = new CommentStars(); return $commentStars->render($comment->stars, false); }