| 1 | <?php |
||
| 14 | class JCResponse implements iJCResponse |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var ResponseInterface |
||
| 19 | */ |
||
| 20 | public $response; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * JCResponse constructor. |
||
| 24 | * @param $response |
||
| 25 | */ |
||
| 26 | 6 | public function __construct($response) |
|
| 30 | |||
| 31 | |||
| 32 | 6 | public function status() |
|
| 36 | |||
| 37 | 6 | public function body() |
|
| 41 | |||
| 42 | 1 | public function headers() |
|
| 46 | } |