1 | <?php |
||
11 | class Response |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * @var array HTTP headers |
||
16 | */ |
||
17 | protected $headers = []; |
||
18 | |||
19 | /** |
||
20 | * @var string Output |
||
21 | */ |
||
22 | protected $output; |
||
23 | |||
24 | /** |
||
25 | * @param array $headers |
||
26 | * @param string $output |
||
27 | */ |
||
28 | 1 | public function __construct(array $headers, string $output) |
|
33 | |||
34 | /** |
||
35 | * @return array |
||
36 | */ |
||
37 | 1 | public function output(): array |
|
44 | } |
||
45 |