QueryHandlerInterface
interface QueryHandlerInterface (View source)
Query handlers are responsible for applying a query as a string to a Schema object and returning a result.
Methods
array
query(Schema $schema, string|DocumentNode $query, array $params = [])
No description
array
serialiseResult(ExecutionResult $executionResult)
Serialise a Graphql result object for output
Details
array
query(Schema $schema, string|DocumentNode $query, array $params = [])
array
serialiseResult(ExecutionResult $executionResult)
Serialise a Graphql result object for output