function Response::getContent
Same name in this branch
- 11.1.x vendor/symfony/browser-kit/Response.php \Symfony\Component\BrowserKit\Response::getContent()
Gets the current response 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 - Gets the current response content.
- StreamedResponse::getContent in vendor/
symfony/ http-foundation/ StreamedResponse.php - Gets the current response content.
File
-
vendor/
symfony/ http-foundation/ Response.php, line 428
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function getContent() : string|false {
return $this->content;
}