You are here

public function RequestController::__construct in GraphQL 8.4

Same name and namespace in other branches
  1. 8 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::__construct()
  2. 8.2 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::__construct()
  3. 8.3 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::__construct()

RequestController constructor.

@codeCoverageIgnore

Parameters

array $parameters: The service configuration parameters.

File

src/Controller/RequestController.php, line 40

Class

RequestController
The main GraphQL request handler that will forward to the responsible server.

Namespace

Drupal\graphql\Controller

Code

public function __construct(array $parameters) {
  $this->parameters = $parameters;
}