GraphQL\Examples\Blog\Type\StoryType::author PHP Méthode

author() public méthode

public author ( Story $story )
$story GraphQL\Examples\Blog\Data\Story
    public function author(Story $story)
    {
        return DataSource::findUser($story->authorId);
    }