You are here

public function Response::getContent in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::getContent()
  2. 8 vendor/symfony/browser-kit/Response.php \Symfony\Component\BrowserKit\Response::getContent()
Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::getContent()

Gets the current response content.

Return value

string Content

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

File

vendor/symfony/http-foundation/Response.php, line 408

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

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