GraphQL\Examples\Blog\Type\CommentType::totalReplyCount PHP Method

totalReplyCount() public method

public totalReplyCount ( Comment $comment )
$comment GraphQL\Examples\Blog\Data\Comment
    public function totalReplyCount(Comment $comment)
    {
        return DataSource::countReplies($comment->id);
    }