Reference
C
Class

ApiPlatform\GraphQl\Type\SchemaBuilder

Builds the GraphQL schema.

class ApiPlatform\GraphQl\Type\SchemaBuilder implements `<a href="/docs/reference/GraphQl/Type/SchemaBuilderInterface">ApiPlatform\GraphQl\Type\SchemaBuilderInterface</a>`
{
    public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory, ApiPlatform\GraphQl\Type\TypesFactoryInterface $typesFactory, ApiPlatform\GraphQl\Type\TypesContainerInterface $typesContainer, ApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface|ApiPlatform\GraphQl\Type\FieldsBuilderInterface $fieldsBuilder)
    public getSchema(): GraphQL\Type\Schema
}
class ApiPlatform\GraphQl\Type\SchemaBuilder implements `<a href="/docs/reference/GraphQl/Type/SchemaBuilderInterface">ApiPlatform\GraphQl\Type\SchemaBuilderInterface</a>`
{
    public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory, ApiPlatform\GraphQl\Type\TypesFactoryInterface $typesFactory, ApiPlatform\GraphQl\Type\TypesContainerInterface $typesContainer, ApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface|ApiPlatform\GraphQl\Type\FieldsBuilderInterface $fieldsBuilder)
    public getSchema(): GraphQL\Type\Schema
}

Methods

__construct

public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory, ApiPlatform\GraphQl\Type\TypesFactoryInterface $typesFactory, ApiPlatform\GraphQl\Type\TypesContainerInterface $typesContainer, ApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface|ApiPlatform\GraphQl\Type\FieldsBuilderInterface $fieldsBuilder)
public __construct(ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface $resourceNameCollectionFactory, ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface $resourceMetadataCollectionFactory, ApiPlatform\GraphQl\Type\TypesFactoryInterface $typesFactory, ApiPlatform\GraphQl\Type\TypesContainerInterface $typesContainer, ApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface|ApiPlatform\GraphQl\Type\FieldsBuilderInterface $fieldsBuilder)

Parameters

resourceNameCollectionFactoryApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface
resourceMetadataCollectionFactoryApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface
typesFactoryApiPlatform\GraphQl\Type\TypesFactoryInterface
typesContainerApiPlatform\GraphQl\Type\TypesContainerInterface
fieldsBuilderApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface
ApiPlatform\GraphQl\Type\FieldsBuilderInterface

getSchema

public getSchema(): GraphQL\Type\Schema
public getSchema(): GraphQL\Type\Schema

Returns

GraphQL\Type\Schema

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop