You are here

public function OperationEvent::getResult in GraphQL 8.4

Returns the execution result.

Return value

\GraphQL\Executor\ExecutionResult

File

src/Event/OperationEvent.php, line 58

Class

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

Namespace

Drupal\graphql\Event

Code

public function getResult() {
  return $this->result;
}