You are here

public function VoyagerController::__construct in GraphQL 8.3

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

VoyagerController constructor.

Parameters

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

File

src/Controller/VoyagerController.php, line 33

Class

VoyagerController
Controller for the GraphQL Voyager visualisation API.

Namespace

Drupal\graphql\Controller

Code

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