Reference
C
Class

ApiPlatform\GraphQl\Executor

Wrapper for the GraphQL facade.

class ApiPlatform\GraphQl\Executor implements `<a href="/docs/reference/GraphQl/ExecutorInterface">ApiPlatform\GraphQl\ExecutorInterface</a>`
{
    public executeQuery(GraphQL\Type\Schema $schema, $source, $rootValue, $context, null|array $variableValues, null|string $operationName, null|callable $fieldResolver, null|array $validationRules): GraphQL\Executor\ExecutionResult
}
class ApiPlatform\GraphQl\Executor implements `<a href="/docs/reference/GraphQl/ExecutorInterface">ApiPlatform\GraphQl\ExecutorInterface</a>`
{
    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

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop