PHP Класс GraphQL\Executor\ExecutionContext

Namely, schema of the type system that is currently executing, and the fragments defined in the query document
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$contextValue mixed
$errors array
$fragments GraphQL\Language\AST\FragmentDefinitionNode[]
$operation GraphQL\Language\AST\OperationDefinitionNode
$rootValue mixed
$schema GraphQL\Schema
$variableValues array

Открытые методы

Метод Описание
__construct ( $schema, $fragments, $root, $contextValue, $operation, $variables, $errors )
addError ( Error $error )

Описание методов

__construct() публичный Метод

public __construct ( $schema, $fragments, $root, $contextValue, $operation, $variables, $errors )

addError() публичный Метод

public addError ( Error $error )
$error GraphQL\Error\Error

Описание свойств

$contextValue публичное свойство

public mixed $contextValue
Результат mixed

$errors публичное свойство

public array $errors
Результат array

$fragments публичное свойство

public FragmentDefinitionNode[],GraphQL\Language\AST $fragments
Результат GraphQL\Language\AST\FragmentDefinitionNode[]

$operation публичное свойство

public OperationDefinitionNode,GraphQL\Language\AST $operation
Результат GraphQL\Language\AST\OperationDefinitionNode

$rootValue публичное свойство

public mixed $rootValue
Результат mixed

$schema публичное свойство

public Schema,GraphQL $schema
Результат GraphQL\Schema

$variableValues публичное свойство

public array $variableValues
Результат array