GraphQL\Tests\Executor\ResolveTest::buildSchema PHP Метод

buildSchema() приватный Метод

Execute: resolve function
private buildSchema ( $testField )
    private function buildSchema($testField)
    {
        return new Schema(['query' => new ObjectType(['name' => 'Query', 'fields' => ['test' => $testField]])]);
    }