public function RequestController::__construct in GraphQL 8.3
Same name and namespace in other branches
- 8.4 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::__construct()
- 8 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::__construct()
- 8.2 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::__construct()
RequestController constructor.
Parameters
\Drupal\graphql\GraphQL\Execution\QueryProcessor $processor: The query processor.
array $parameters: The service configuration parameters.
File
- src/
Controller/ RequestController.php, line 47
Class
- RequestController
- Handles GraphQL requests.
Namespace
Drupal\graphql\ControllerCode
public function __construct(QueryProcessor $processor, array $parameters) {
$this->processor = $processor;
$this->parameters = $parameters;
}