public function Response::getContent

Gets the current response content.

@api

Return value

string Content

1 call to Response::getContent()
Response::__toString in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Response.php
Returns the Response as an HTTP string.
2 methods override Response::getContent()
BinaryFileResponse::getContent in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/BinaryFileResponse.php
StreamedResponse::getContent in drupal/core/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/StreamedResponse.php

File

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

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

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