GraphQL\Examples\Blog\Type\StoryType::comments PHP Method

comments() public method

public comments ( Story $story, $args )
$story GraphQL\Examples\Blog\Data\Story
    public function comments(Story $story, $args)
    {
        $args += ['after' => null];
        return DataSource::findComments($story->id, $args['limit'], $args['after']);
    }