public function InternalRequest::__construct in GraphQL 8.3
InternalRequest constructor.
Parameters
array $configuration: The plugin configuration array.
string $pluginId: The plugin id.
mixed $pluginDefinition: The plugin definition array.
\Drupal\graphql\GraphQL\Buffers\SubRequestBuffer $subRequestBuffer: The sub-request buffer service.
\Symfony\Component\HttpKernel\HttpKernelInterface $httpKernel: The http kernel.
\Symfony\Component\HttpFoundation\RequestStack $requestStack: The request stack.
Overrides PluginBase::__construct
File
- modules/
graphql_core/ src/ Plugin/ GraphQL/ Fields/ Routing/ InternalUrl/ InternalRequest.php, line 80
Class
- InternalRequest
- Issue an internal request and retrieve the response object.
Namespace
Drupal\graphql_core\Plugin\GraphQL\Fields\Routing\InternalUrlCode
public function __construct(array $configuration, $pluginId, $pluginDefinition, SubRequestBuffer $subRequestBuffer, HttpKernelInterface $httpKernel, RequestStack $requestStack) {
parent::__construct($configuration, $pluginId, $pluginDefinition);
$this->subRequestBuffer = $subRequestBuffer;
$this->httpKernel = $httpKernel;
$this->requestStack = $requestStack;
}