Guides
Tutorials
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
}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)| 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\Schemapublic getSchema(): GraphQL\Type\SchemaGraphQL\Type\Schema