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.
1 method overrides Response::getContent()
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 348

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

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