PHP 클래스 GraphQL\Executor\ExecutionContext

Namely, schema of the type system that is currently executing, and the fragments defined in the query document
파일 보기 프로젝트 열기: webonyx/graphql-php 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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