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
StoryType
totalCommentCount
GraphQL\Examples\Blog\Type\StoryType::totalCommentCount PHP Method
StoryType Class Documentation
Show file
Open project: webonyx/graphql-php
totalCommentCount()
public
method
public
totalCommentCount
(
Story
$story
)
$story
GraphQL\Examples\Blog\Data\Story
public function totalCommentCount(Story $story) { return DataSource::countComments($story->id); }
StoryType
__construct
affordances
author
comments
hasViewerLiked
totalCommentCount