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
public
array
serialiseResult(ExecutionResult $executionResult)
Serialise a Graphql result object for output
Details
array
query(Schema $schema, string|DocumentNode $query, array $params = [])
No description
array
serialiseResult(ExecutionResult $executionResult)
Serialise a Graphql result object for output
QueryHandlerInterface
addContextProvider(ContextProvider $provider)
No description