Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
GraphQL
Examples
Blog
Type
CommentType
totalReplyCount
GraphQL\Examples\Blog\Type\CommentType::totalReplyCount PHP Method
CommentType Class Documentation
Show file
Open project: webonyx/graphql-php
totalReplyCount()
public
method
public
totalReplyCount
(
Comment
$comment
)
$comment
GraphQL\Examples\Blog\Data\Comment
public function totalReplyCount(Comment $comment) { return DataSource::countReplies($comment->id); }
CommentType
__construct
author
parent
replies
totalReplyCount