Total Complexity | 8 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
5 | class Response |
||
6 | { |
||
7 | /** |
||
8 | * status of the server response - fail is not nessisary a fail in this case. |
||
9 | * |
||
10 | * @var string |
||
11 | */ |
||
12 | public $status; |
||
13 | |||
14 | /** |
||
15 | * status code of the server response. |
||
16 | * |
||
17 | * @var int |
||
18 | */ |
||
19 | public $statusCode; |
||
20 | |||
21 | /** |
||
22 | * message from the response. |
||
23 | * |
||
24 | * @var string |
||
25 | * @author Craig Smith <[email protected]> |
||
26 | */ |
||
27 | public $message; |
||
28 | |||
29 | public function __construct($body, $format) |
||
47 | } |
||
48 | |||
49 | protected function parseResponseBody($body) |
||
68 |