You are here

public function BigPipeResponse::setBigPipeService in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/big_pipe/src/Render/BigPipeResponse.php \Drupal\big_pipe\Render\BigPipeResponse::setBigPipeService()

Sets the BigPipe service to use.

Parameters

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

File

core/modules/big_pipe/src/Render/BigPipeResponse.php, line 104

Class

BigPipeResponse
A response that is sent in chunks by the BigPipe service.

Namespace

Drupal\big_pipe\Render

Code

public function setBigPipeService(BigPipe $big_pipe) {
  $this->bigPipe = $big_pipe;
}