You are here

public function ResolveContext::getServer in GraphQL 8.4

Returns the GraphQL server config entity.

Return value

\Drupal\graphql\Entity\ServerInterface

File

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

Class

ResolveContext
Context that is provided during resolving the GraphQL tree.

Namespace

Drupal\graphql\GraphQL\Execution

Code

public function getServer() {
  return $this->server;
}