Reference
C
Class

ApiPlatform\GraphQl\Action\EntrypointAction

GraphQL API entrypoint.

class ApiPlatform\GraphQl\Action\EntrypointAction
{
    public __construct(ApiPlatform\GraphQl\Type\SchemaBuilderInterface $schemaBuilder, ApiPlatform\GraphQl\ExecutorInterface $executor, null|ApiPlatform\GraphQl\Action\GraphiQlAction $graphiQlAction, null|ApiPlatform\GraphQl\Action\GraphQlPlaygroundAction $graphQlPlaygroundAction, Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, ApiPlatform\GraphQl\Error\ErrorHandlerInterface $errorHandler, bool $debug, bool $graphiqlEnabled, bool $graphQlPlaygroundEnabled, null|string $defaultIde)
    public __invoke(Symfony\Component\HttpFoundation\Request $request): Symfony\Component\HttpFoundation\Response
}
class ApiPlatform\GraphQl\Action\EntrypointAction
{
    public __construct(ApiPlatform\GraphQl\Type\SchemaBuilderInterface $schemaBuilder, ApiPlatform\GraphQl\ExecutorInterface $executor, null|ApiPlatform\GraphQl\Action\GraphiQlAction $graphiQlAction, null|ApiPlatform\GraphQl\Action\GraphQlPlaygroundAction $graphQlPlaygroundAction, Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, ApiPlatform\GraphQl\Error\ErrorHandlerInterface $errorHandler, bool $debug, bool $graphiqlEnabled, bool $graphQlPlaygroundEnabled, null|string $defaultIde)
    public __invoke(Symfony\Component\HttpFoundation\Request $request): Symfony\Component\HttpFoundation\Response
}

Methods

__construct

public __construct(ApiPlatform\GraphQl\Type\SchemaBuilderInterface $schemaBuilder, ApiPlatform\GraphQl\ExecutorInterface $executor, null|ApiPlatform\GraphQl\Action\GraphiQlAction $graphiQlAction, null|ApiPlatform\GraphQl\Action\GraphQlPlaygroundAction $graphQlPlaygroundAction, Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, ApiPlatform\GraphQl\Error\ErrorHandlerInterface $errorHandler, bool $debug, bool $graphiqlEnabled, bool $graphQlPlaygroundEnabled, null|string $defaultIde)
public __construct(ApiPlatform\GraphQl\Type\SchemaBuilderInterface $schemaBuilder, ApiPlatform\GraphQl\ExecutorInterface $executor, null|ApiPlatform\GraphQl\Action\GraphiQlAction $graphiQlAction, null|ApiPlatform\GraphQl\Action\GraphQlPlaygroundAction $graphQlPlaygroundAction, Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, ApiPlatform\GraphQl\Error\ErrorHandlerInterface $errorHandler, bool $debug, bool $graphiqlEnabled, bool $graphQlPlaygroundEnabled, null|string $defaultIde)

Parameters

schemaBuilderApiPlatform\GraphQl\Type\SchemaBuilderInterface
executorApiPlatform\GraphQl\ExecutorInterface
graphiQlActionApiPlatform\GraphQl\Action\GraphiQlAction
graphQlPlaygroundActionApiPlatform\GraphQl\Action\GraphQlPlaygroundAction
normalizerSymfony\Component\Serializer\Normalizer\NormalizerInterface
errorHandlerApiPlatform\GraphQl\Error\ErrorHandlerInterface
debugbool
graphiqlEnabledbool
graphQlPlaygroundEnabledbool
defaultIdestring

__invoke

public __invoke(Symfony\Component\HttpFoundation\Request $request): Symfony\Component\HttpFoundation\Response
public __invoke(Symfony\Component\HttpFoundation\Request $request): Symfony\Component\HttpFoundation\Response

Parameters

requestSymfony\Component\HttpFoundation\Request

Returns

Symfony\Component\HttpFoundation\Response

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop