GraphQL\Examples\Blog\Type\CommentType::replies PHP Méthode

replies() public méthode

public replies ( Comment $comment, $args )
$comment GraphQL\Examples\Blog\Data\Comment
    public function replies(Comment $comment, $args)
    {
        $args += ['after' => null];
        return DataSource::findReplies($comment->id, $args['limit'], $args['after']);
    }