You are here

protected function QueryResultAssertionTrait::graphQlProcessor in GraphQL 8.3

Retrieve the graphql processor.

Return value

\Drupal\graphql\GraphQL\Execution\QueryProcessor The graphql processor service.

File

tests/src/Traits/QueryResultAssertionTrait.php, line 54

Class

QueryResultAssertionTrait
Trait for easier assertion on GraphQL query results.

Namespace

Drupal\Tests\graphql\Traits

Code

protected function graphQlProcessor() {
  return $this->container
    ->get('graphql.query_processor');
}