You are here

public static function VoyagerController::create in GraphQL 8.4

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

@codeCoverageIgnore

Overrides ContainerInjectionInterface::create

File

src/Controller/VoyagerController.php, line 28

Class

VoyagerController
Controller for the GraphQL Voyager visualisation API.

Namespace

Drupal\graphql\Controller

Code

public static function create(ContainerInterface $container) : self {
  return new static($container
    ->get('graphql.introspection'));
}