References Executor
Reference
C
Class

ApiPlatform\GraphQl\Executor

Wrapper for the GraphQL facade.

class ApiPlatform\GraphQl\Executor implements ApiPlatform\GraphQl\ExecutorInterface
{
    public __construct(bool $graphQlIntrospectionEnabled)
    public executeQuery(GraphQL\Type\Schema $schema, $source, $rootValue, $context, null|array $variableValues, null|string $operationName, null|callable $fieldResolver, null|array $validationRules): GraphQL\Executor\ExecutionResult
}

Methods

__construct

public __construct(bool $graphQlIntrospectionEnabled)

Parameters

graphQlIntrospectionEnabledbool

executeQuery

public executeQuery(GraphQL\Type\Schema $schema, $source, $rootValue, $context, null|array $variableValues, null|string $operationName, null|callable $fieldResolver, null|array $validationRules): GraphQL\Executor\ExecutionResult

Parameters

schemaGraphQL\Type\Schema
source
rootValue
context
variableValuesarray
operationNamestring
fieldResolvercallable
validationRulesarray

Returns

GraphQL\Executor\ExecutionResult

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

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop