You are here

public function QueryAccessCheck::__construct in GraphQL 8.3

Same name and namespace in other branches
  1. 8.4 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 25

Class

QueryAccessCheck

Namespace

Drupal\graphql\Access

Code

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