PHP 클래스 GraphQL\Examples\Blog\Type\StoryType

상속: extends GraphQL\Type\Definition\ObjectType
파일 보기 프로젝트 열기: webonyx/graphql-php

공개 메소드들

메소드 설명
__construct ( )
affordances ( Story $story, $args, AppContext $context )
author ( Story $story )
comments ( Story $story, $args )
hasViewerLiked ( Story $story, $args, AppContext $context )
totalCommentCount ( Story $story )

메소드 상세

__construct() 공개 메소드

public __construct ( )

affordances() 공개 메소드

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

author() 공개 메소드

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

comments() 공개 메소드

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

hasViewerLiked() 공개 메소드

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

totalCommentCount() 공개 메소드

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