You are here

public function ResolveContext::getType in GraphQL 8.4

Returns the type.

Return value

string

File

src/GraphQL/Execution/ResolveContext.php, line 124

Class

ResolveContext
Context that is provided during resolving the GraphQL tree.

Namespace

Drupal\graphql\GraphQL\Execution

Code

public function getType() : string {
  return $this->type;
}