You are here

public function OperationEvent::getContext in GraphQL 8.4

Returns the resolver context.

Return value

\Drupal\graphql\GraphQL\Execution\ResolveContext

File

src/Event/OperationEvent.php, line 67

Class

OperationEvent
Represents an event that is triggered before and after a GraphQL operation.

Namespace

Drupal\graphql\Event

Code

public function getContext() {
  return $this->context;
}