12345678910111213141516171819202122232425262728293031323334353637383940 |
- <?php namespace Symfony\Component\HttpFoundation;
- /**
- * Response represents an HTTP response.
- *
- * @author Fabien Potencier <[email protected]>
- *
- * @api
- */
- class LaravelResponse extends Response
- {
- /**
- * Sends HTTP headers and content.
- *
- * @return Response
- *
- * @api
- */
- public function send()
- {
- $this->sendHeaders();
- $this->sendContent();
- return $this;
- }
- /**
- * Finishes the request for PHP-FastCGI
- *
- * @return void
- */
- public function finish()
- {
- if (function_exists('fastcgi_finish_request')) {
- fastcgi_finish_request();
- }
- }
- }
|