Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/browser-kit/Response.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | 129ea1e6d783 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
10 */ | 10 */ |
11 | 11 |
12 namespace Symfony\Component\BrowserKit; | 12 namespace Symfony\Component\BrowserKit; |
13 | 13 |
14 /** | 14 /** |
15 * Response object. | |
16 * | |
17 * @author Fabien Potencier <fabien@symfony.com> | 15 * @author Fabien Potencier <fabien@symfony.com> |
18 */ | 16 */ |
19 class Response | 17 class Response |
20 { | 18 { |
21 protected $content; | 19 protected $content; |
22 protected $status; | 20 protected $status; |
23 protected $headers; | 21 protected $headers; |
24 | 22 |
25 /** | 23 /** |
26 * Constructor. | |
27 * | |
28 * The headers array is a set of key/value pairs. If a header is present multiple times | 24 * The headers array is a set of key/value pairs. If a header is present multiple times |
29 * then the value is an array of all the values. | 25 * then the value is an array of all the values. |
30 * | 26 * |
31 * @param string $content The content of the response | 27 * @param string $content The content of the response |
32 * @param int $status The response status code | 28 * @param int $status The response status code |