You are here

public function QueryAccessCheck::__construct in GraphQL 8.4

Same name and namespace in other branches
  1. 8.3 src/Access/QueryAccessCheck.php \Drupal\graphql\Access\QueryAccessCheck::__construct()

QueryAccessCheck constructor.

Parameters

\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.

File

src/Access/QueryAccessCheck.php, line 29

Class

QueryAccessCheck
Grants access to executing arbitrary GraphQL queries on the defined servers.

Namespace

Drupal\graphql\Access

Code

public function __construct(RequestStack $requestStack) {
  $this->requestStack = $requestStack;
}