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
}
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
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

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop