You are here

public function ValidationController::__construct in GraphQL 8.4

ValidateResolverController constructor.

Parameters

\Drupal\graphql\GraphQL\ValidatorInterface $validator: The GraphQL validator.

File

src/Controller/ValidationController.php, line 39

Class

ValidationController
Controller for the GraphiQL resolver validation.

Namespace

Drupal\graphql\Controller

Code

public function __construct(ValidatorInterface $validator) {
  $this->validator = $validator;
}