BigPipe::__construct

public BigPipe::__construct(RendererInterface $renderer, SessionInterface $session, RequestStack $request_stack, HttpKernelInterface $http_kernel, EventDispatcherInterface $event_dispatcher, ConfigFactoryInterface $config_factory)

Constructs a new BigPipe class.

Parameters

\Drupal\Core\Render\RendererInterface $renderer: The renderer.

\Symfony\Component\HttpFoundation\Session\SessionInterface $session: The session.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

\Symfony\Component\HttpKernel\HttpKernelInterface $http_kernel: The HTTP kernel.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: The event dispatcher.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

core/modules/big_pipe/src/Render/BigPipe.php, line 100

Class

BigPipe
The default BigPipe service.

Namespace

Drupal\big_pipe\Render

Code

public function __construct(RendererInterface $renderer, SessionInterface $session, RequestStack $request_stack, HttpKernelInterface $http_kernel, EventDispatcherInterface $event_dispatcher, ConfigFactoryInterface $config_factory) {
  $this->renderer = $renderer;
  $this->session = $session;
  $this->requestStack = $request_stack;
  $this->httpKernel = $http_kernel;
  $this->eventDispatcher = $event_dispatcher;
  $this->configFactory = $config_factory;
}
doc_Drupal
2016-10-29 08:46:15
Comments
Leave a Comment

Please login to continue.