PHP Class GraphQL\Examples\Blog\Type\StoryType

Inheritance: extends GraphQL\Type\Definition\ObjectType
Afficher le fichier Open project: webonyx/graphql-php

Méthodes publiques

Méthode Description
__construct ( )
affordances ( Story $story, $args, AppContext $context )
author ( Story $story )
comments ( Story $story, $args )
hasViewerLiked ( Story $story, $args, AppContext $context )
totalCommentCount ( Story $story )

Method Details

__construct() public méthode

public __construct ( )

affordances() public méthode

public affordances ( Story $story, $args, AppContext $context )
$story GraphQL\Examples\Blog\Data\Story
$context GraphQL\Examples\Blog\AppContext

author() public méthode

public author ( Story $story )
$story GraphQL\Examples\Blog\Data\Story

comments() public méthode

public comments ( Story $story, $args )
$story GraphQL\Examples\Blog\Data\Story

hasViewerLiked() public méthode

public hasViewerLiked ( Story $story, $args, AppContext $context )
$story GraphQL\Examples\Blog\Data\Story
$context GraphQL\Examples\Blog\AppContext

totalCommentCount() public méthode

public totalCommentCount ( Story $story )
$story GraphQL\Examples\Blog\Data\Story