public function Response::send in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Response.php \Symfony\Component\HttpFoundation\Response::send()
Sends HTTP headers and content.
Return value
File
- vendor/
symfony/ http-foundation/ Response.php, line 367
Class
- Response
- Response represents an HTTP response.
Namespace
Symfony\Component\HttpFoundationCode
public function send() {
$this
->sendHeaders();
$this
->sendContent();
if (function_exists('fastcgi_finish_request')) {
fastcgi_finish_request();
}
elseif ('cli' !== PHP_SAPI) {
static::closeOutputBuffers(0, true);
}
return $this;
}