buildExecutionContext()
private static method
Constructs a ExecutionContext object from the arguments passed to
execute, which we will pass throughout the other execution methods.
private static buildExecutionContext ( Schema $schema, DocumentNode $documentNode, $rootValue, $contextValue, $rawVariableValues, string $operationName = null ) : ExecutionContext |
$schema |
GraphQL\Schema |
|
$documentNode |
GraphQL\Language\AST\DocumentNode |
|
$rootValue |
|
|
$contextValue |
|
|
$rawVariableValues |
|
|
$operationName |
string |
|
return |
ExecutionContext |
|