1 | <?php |
||
18 | class Http extends Response |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * @var \Symfony\Component\HttpFoundation\Response |
||
23 | */ |
||
24 | protected $response; |
||
25 | |||
26 | /** |
||
27 | * @param Process $process |
||
28 | * @param DataSourceInterface $dataSource |
||
29 | * @param JsonPatch|null $jsonPatch |
||
30 | */ |
||
31 | 10 | public function __construct(Process $process, DataSourceInterface $dataSource, JsonPatch $jsonPatch = null) |
|
39 | |||
40 | /** |
||
41 | * @return int |
||
42 | */ |
||
43 | 10 | public function getStatusCode() |
|
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | 10 | protected function getStatusText() |
|
63 | |||
64 | /** |
||
65 | * @return string |
||
66 | */ |
||
67 | 10 | protected function getCharset() |
|
75 | |||
76 | /** |
||
77 | * @return int |
||
78 | */ |
||
79 | 10 | protected function getMaxAge() |
|
87 | |||
88 | /** |
||
89 | * @return int |
||
90 | */ |
||
91 | 10 | protected function getExpires() |
|
99 | |||
100 | /** |
||
101 | * @return \DateTime |
||
102 | */ |
||
103 | 10 | protected function getLastModified() |
|
111 | |||
112 | /** |
||
113 | * @return int |
||
114 | */ |
||
115 | 10 | protected function getTtl() |
|
123 | } |
||
124 |