public static function RequestController::create in GraphQL 8.4
Same name and namespace in other branches
- 8 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::create()
- 8.2 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::create()
- 8.3 src/Controller/RequestController.php \Drupal\graphql\Controller\RequestController::create()
@codeCoverageIgnore
Overrides ContainerInjectionInterface::create
File
- src/
Controller/ RequestController.php, line 28
Class
- RequestController
- The main GraphQL request handler that will forward to the responsible server.
Namespace
Drupal\graphql\ControllerCode
public static function create(ContainerInterface $container) : self {
return new static($container
->getParameter('graphql.config'));
}