You are here

public function Response::sendContent in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::sendContent()

Sends content for the current web response.

Return value

Response

2 calls to Response::sendContent()
BinaryFileResponse::sendContent in vendor/symfony/http-foundation/BinaryFileResponse.php
Sends the file.
Response::send in vendor/symfony/http-foundation/Response.php
Sends HTTP headers and content.
2 methods override Response::sendContent()
BinaryFileResponse::sendContent in vendor/symfony/http-foundation/BinaryFileResponse.php
Sends the file.
StreamedResponse::sendContent in vendor/symfony/http-foundation/StreamedResponse.php
This method only sends the content once.

File

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

Class

Response
Response represents an HTTP response.

Namespace

Symfony\Component\HttpFoundation

Code

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