HtmlResponseBigPipeSubscriber::__construct

public HtmlResponseBigPipeSubscriber::__construct(BigPipeInterface $big_pipe)

Constructs a HtmlResponseBigPipeSubscriber object.

Parameters

\Drupal\big_pipe\Render\BigPipeInterface $big_pipe: The BigPipe service.

File

core/modules/big_pipe/src/EventSubscriber/HtmlResponseBigPipeSubscriber.php, line 34

Class

HtmlResponseBigPipeSubscriber
Response subscriber to replace the HtmlResponse with a BigPipeResponse.

Namespace

Drupal\big_pipe\EventSubscriber

Code

public function __construct(BigPipeInterface $big_pipe) {
  $this->bigPipe = $big_pipe;
}
doc_Drupal
2016-10-29 09:18:55
Comments
Leave a Comment

Please login to continue.