Builds the GraphQL schema.
class ApiPlatform\GraphQl\Type\SchemaBuilder implements ApiPlatform\GraphQl\Type\SchemaBuilderInterface
{
public __construct($resourceNameCollectionFactory, `<a href="/docs/main/references/Metadata/Resource/Factory/ResourceMetadataCollectionFactoryInterface">ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface</a>` $resourceMetadataCollectionFactory, `<a href="/docs/main/references/GraphQl/Type/TypesFactoryInterface">ApiPlatform\GraphQl\Type\TypesFactoryInterface</a>` $typesFactory, `<a href="/docs/main/references/GraphQl/Type/TypesContainerInterface">ApiPlatform\GraphQl\Type\TypesContainerInterface</a>` $typesContainer, `<a href="/docs/main/references/GraphQl/Type/FieldsBuilderEnumInterface">ApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface</a>`|`<a href="/docs/main/references/GraphQl/Type/FieldsBuilderInterface">ApiPlatform\GraphQl\Type\FieldsBuilderInterface $fieldsBuilder)
public getSchema(): GraphQL\Type\Schema
}
public __construct($resourceNameCollectionFactory, `<a href="/docs/main/references/Metadata/Resource/Factory/ResourceMetadataCollectionFactoryInterface">ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface</a>` $resourceMetadataCollectionFactory, `<a href="/docs/main/references/GraphQl/Type/TypesFactoryInterface">ApiPlatform\GraphQl\Type\TypesFactoryInterface</a>` $typesFactory, `<a href="/docs/main/references/GraphQl/Type/TypesContainerInterface">ApiPlatform\GraphQl\Type\TypesContainerInterface</a>` $typesContainer, `<a href="/docs/main/references/GraphQl/Type/FieldsBuilderEnumInterface">ApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface</a>`|`<a href="/docs/main/references/GraphQl/Type/FieldsBuilderInterface">ApiPlatform\GraphQl\Type\FieldsBuilderInterface $fieldsBuilder)
resourceNameCollectionFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface` | |
resourceMetadataCollectionFactory | `ApiPlatform\Metadata\Resource\Factory\ResourceMetadataCollectionFactoryInterface` | |
typesFactory | `ApiPlatform\GraphQl\Type\TypesFactoryInterface` | |
typesContainer | `ApiPlatform\GraphQl\Type\TypesContainerInterface` | |
fieldsBuilder | `ApiPlatform\GraphQl\Type\FieldsBuilderEnumInterface` `ApiPlatform\GraphQl\Type\FieldsBuilderInterface` |
public getSchema(): GraphQL\Type\Schema
GraphQL\Type\Schema
Made with love by
Les-Tilleuls.coop can help you design and develop your APIs and web projects, and train your teams in API Platform, Symfony, Next.js, Kubernetes and a wide range of other technologies.
Learn more