public function Response::sendContent

Sends content for the current web response.

Return value

Response

1 call to Response::sendContent()
Response::send in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php
Sends HTTP headers and content.
1 method overrides Response::sendContent()
StreamedResponse::sendContent in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/StreamedResponse.php
This method only sends the content once.

File

drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php, line 281

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

public function sendContent() {
  echo $this->content;
  return $this;
}