PHP Class GraphQL\Executor\ExecutionContext

Namely, schema of the type system that is currently executing, and the fragments defined in the query document
Afficher le fichier Open project: webonyx/graphql-php Class Usage Examples

Méthodes publiques

Свойство Type Description
$contextValue mixed
$errors array
$fragments GraphQL\Language\AST\FragmentDefinitionNode[]
$operation GraphQL\Language\AST\OperationDefinitionNode
$rootValue mixed
$schema GraphQL\Schema
$variableValues array

Méthodes publiques

Méthode Description
__construct ( $schema, $fragments, $root, $contextValue, $operation, $variables, $errors )
addError ( Error $error )

Method Details

__construct() public méthode

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

addError() public méthode

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

Property Details

$contextValue public_oe property

public mixed $contextValue
Résultat mixed

$errors public_oe property

public array $errors
Résultat array

$fragments public_oe property

public FragmentDefinitionNode[],GraphQL\Language\AST $fragments
Résultat GraphQL\Language\AST\FragmentDefinitionNode[]

$operation public_oe property

public OperationDefinitionNode,GraphQL\Language\AST $operation
Résultat GraphQL\Language\AST\OperationDefinitionNode

$rootValue public_oe property

public mixed $rootValue
Résultat mixed

$schema public_oe property

public Schema,GraphQL $schema
Résultat GraphQL\Schema

$variableValues public_oe property

public array $variableValues
Résultat array