You are here

public function VoyagerController::__construct in GraphQL 8.4

Same name and namespace in other branches
  1. 8.3 src/Controller/VoyagerController.php \Drupal\graphql\Controller\VoyagerController::__construct()

VoyagerController constructor.

@codeCoverageIgnore

Parameters

\Drupal\graphql\GraphQL\Utility\Introspection $introspection: The GraphQL introspection service.

File

src/Controller/VoyagerController.php, line 40

Class

VoyagerController
Controller for the GraphQL Voyager visualisation API.

Namespace

Drupal\graphql\Controller

Code

public function __construct(Introspection $introspection) {
  $this->introspection = $introspection;
}