public function SubrequestExtractionController::__construct in GraphQL 8.4
Same name and namespace in other branches
- 8.3 src/Controller/SubrequestExtractionController.php \Drupal\graphql\Controller\SubrequestExtractionController::__construct()
SubrequestExtractionController constructor.
@codeCoverageIgnore
Parameters
\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.
\Drupal\Core\Language\LanguageManagerInterface $languageManager: The language manager service.
\Drupal\Core\Render\RendererInterface $renderer: The renderer service.
File
- src/
Controller/ SubrequestExtractionController.php, line 57
Class
- SubrequestExtractionController
- Extract arbitrary information from subrequests.
Namespace
Drupal\graphql\ControllerCode
public function __construct(RequestStack $requestStack, LanguageManagerInterface $languageManager, RendererInterface $renderer) {
$this->requestStack = $requestStack;
$this->languageManager = $languageManager;
$this->renderer = $renderer;
}