1 | <?php |
||
5 | class InfoResponse extends BaseResponse implements ResponseInterface |
||
6 | { |
||
7 | /** |
||
8 | * Set response body |
||
9 | * |
||
10 | * @param mixed $body Response body |
||
11 | * @return void |
||
12 | * @throws InvalidResponseException |
||
13 | */ |
||
14 | public function setBody($body) |
||
22 | |||
23 | /** |
||
24 | * Parse response |
||
25 | * |
||
26 | * Taken from https://github.com/nrk/predis/blob/v1.1/src/Command/ServerInfoV26x.php |
||
27 | * |
||
28 | * @return array Parsed response |
||
29 | */ |
||
30 | public function parse() |
||
63 | |||
64 | protected function parseRow($row) |
||
69 | |||
70 | protected function parseSection($data) |
||
86 | } |
||
87 |