1 | <?php |
||
8 | class ChunkedResponseException extends RuntimeException |
||
9 | { |
||
10 | /** |
||
11 | * $message. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $message; |
||
16 | |||
17 | /** |
||
18 | * $headers. |
||
19 | * |
||
20 | * @var array |
||
21 | */ |
||
22 | protected $headers; |
||
23 | |||
24 | /** |
||
25 | * __construct. |
||
26 | * |
||
27 | * @param mixed $message |
||
28 | * @param array $headers |
||
29 | * @param int $code |
||
30 | */ |
||
31 | 4 | public function __construct($message = '', $headers = [], $code = Response::HTTP_CREATED) |
|
39 | |||
40 | /** |
||
41 | * getResponse. |
||
42 | * |
||
43 | * @return \Symfony\Component\HttpFoundation\Response |
||
44 | */ |
||
45 | 2 | public function getResponse() |
|
49 | } |
||
50 |