1 | <?php |
||
14 | class Response { |
||
15 | /** |
||
16 | * Provides output to PSR-7 response object |
||
17 | * |
||
18 | * @param \Psr\Http\Message\ResponseInterface $Psr7_response |
||
19 | * |
||
20 | * @return \Psr\Http\Message\ResponseInterface |
||
21 | */ |
||
22 | static function output_to_psr7 ($Psr7_response) { |
||
31 | /** |
||
32 | * @param System_response $System_response |
||
33 | * @param \Psr\Http\Message\ResponseInterface $Psr7_response |
||
34 | */ |
||
35 | protected static function to_psr7_body ($System_response, $Psr7_response) { |
||
52 | /** |
||
53 | * @param System_response $System_response |
||
54 | * @param \Psr\Http\Message\ResponseInterface $Psr7_response |
||
55 | * |
||
56 | * @return \Psr\Http\Message\ResponseInterface $Psr7_response |
||
57 | */ |
||
58 | protected static function to_psr7_headers ($System_response, $Psr7_response) { |
||
68 | } |
||
69 |