| Total Complexity | 2 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Response extends \UAPAY\Response |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $id; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var array |
||
| 17 | */ |
||
| 18 | protected $data; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Handle decoded JSON |
||
| 22 | * |
||
| 23 | * @throws Exception\JSON |
||
| 24 | */ |
||
| 25 | protected function json_handle() |
||
| 26 | { |
||
| 27 | parent::json_handle(); |
||
| 28 | |||
| 29 | $this->data = $this->json['data']; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Get info about order |
||
| 34 | * |
||
| 35 | * @return array data |
||
| 36 | */ |
||
| 37 | public function data() |
||
| 40 | } |
||
| 41 | } |
||
| 42 |