GraphQL\Tests\Type\SchemaValidatorTest::schemaWithFieldType PHP Method

schemaWithFieldType() private method

private schemaWithFieldType ( $type )
    private function schemaWithFieldType($type)
    {
        return ['query' => new ObjectType(['name' => 'Query', 'fields' => ['f' => ['type' => $type]]]), 'types' => [$type]];
    }
SchemaValidatorTest