1: <?php namespace Symfony\Component\HttpFoundation;
2:
3: /**
4: * Response represents an HTTP response.
5: *
6: * @author Fabien Potencier <fabien@symfony.com>
7: *
8: * @api
9: */
10: class LaravelResponse extends Response
11: {
12:
13: /**
14: * Sends HTTP headers and content.
15: *
16: * @return Response
17: *
18: * @api
19: */
20: public function send()
21: {
22: $this->sendHeaders();
23: $this->sendContent();
24:
25: return $this;
26: }
27:
28: /**
29: * Finishes the request for PHP-FastCGI
30: *
31: * @return void
32: */
33: public function finish()
34: {
35: if (function_exists('fastcgi_finish_request')) {
36: fastcgi_finish_request();
37: }
38: }
39:
40: }
41: