You are here

public function SubRequestBuffer::__construct in GraphQL 8.3

SubrequestBuffer constructor.

Parameters

\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: The http kernel service.

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

File

src/GraphQL/Buffers/SubRequestBuffer.php, line 38

Class

SubRequestBuffer

Namespace

Drupal\graphql\GraphQL\Buffers

Code

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