You are here

public static function SubrequestExtractionController::create in GraphQL 8.4

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

@codeCoverageIgnore

Overrides ControllerBase::create

File

src/Controller/SubrequestExtractionController.php, line 37

Class

SubrequestExtractionController
Extract arbitrary information from subrequests.

Namespace

Drupal\graphql\Controller

Code

public static function create(ContainerInterface $container) : self {
  return new static($container
    ->get('request_stack'), $container
    ->get('language_manager'), $container
    ->get('renderer'));
}