1 | <?php |
||
5 | class Ticker extends Endpoint |
||
6 | { |
||
7 | /** |
||
8 | * Get the request url. |
||
9 | * |
||
10 | * @return string |
||
11 | */ |
||
12 | public function getUrl() |
||
16 | |||
17 | /** |
||
18 | * Get the request method. |
||
19 | * |
||
20 | * @return string |
||
21 | */ |
||
22 | public function getMethod() |
||
26 | |||
27 | /** |
||
28 | * Get the request data. |
||
29 | * |
||
30 | * @return array |
||
31 | */ |
||
32 | public function getData() |
||
36 | |||
37 | /** |
||
38 | * Map the given array to create a response object. |
||
39 | * |
||
40 | * @param array $data |
||
41 | * @return array |
||
42 | */ |
||
43 | public function mapResponse(array $data = []) |
||
57 | } |
||
58 |