interface QueryMiddleware

Represents middleware for evaluating a graphql query

Methods

ExecutionResult|array
process(Schema $schema, string $query, array $context, array $params, callable $next)

No description

Details

at line 21
ExecutionResult|array process(Schema $schema, string $query, array $context, array $params, callable $next)

Parameters

Schema $schema
string $query
array $context
array $params
callable $next

Return Value

ExecutionResult|array Result either as an ExecutionResult object or raw array