References ExecutorInterface
Reference
I
Interface

ApiPlatform\GraphQl\ExecutorInterface

Wrapper for the GraphQL facade.

interface ApiPlatform\GraphQl\ExecutorInterface
{
    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

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

See also

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