Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
__construct (ExceptionFormatter $exceptionFormatter) | |
process (Schema $schema, string $source, ContextInterface $contextValue=null, array $variableValues=null, string $operationName=null) | |
Wrapper for GraphQl execution of a schema
Definition at line 20 of file QueryProcessor.php.
__construct | ( | ExceptionFormatter | $exceptionFormatter | ) |
ExceptionFormatter | $exceptionFormatter |
Definition at line 30 of file QueryProcessor.php.
process | ( | Schema | $schema, |
string | $source, | ||
ContextInterface | $contextValue = null , |
||
array | $variableValues = null , |
||
string | $operationName = null |
||
) |
Process a GraphQl query according to defined schema
Schema | $schema | |
string | $source | |
ContextInterface | $contextValue | |
array | null | $variableValues | |
string | null | $operationName |
Definition at line 45 of file QueryProcessor.php.