1 | <?php |
||
5 | class Status extends Endpoint |
||
6 | { |
||
7 | /** |
||
8 | * Determine if the request need authorized. |
||
9 | * |
||
10 | * @var bool |
||
11 | */ |
||
12 | protected $authorize = true; |
||
13 | |||
14 | /** |
||
15 | * Get the request url. |
||
16 | * |
||
17 | * @return string |
||
18 | */ |
||
19 | public function getUrl() |
||
23 | |||
24 | /** |
||
25 | * Get the request method. |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function getMethod() |
||
33 | |||
34 | /** |
||
35 | * Get the request data. |
||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | public function getData() |
||
46 | |||
47 | /** |
||
48 | * Map the given array to create a response object. |
||
49 | * |
||
50 | * @param array $data |
||
51 | * @return array |
||
52 | */ |
||
53 | public function mapResponse(array $data = []) |
||
67 | } |
||
68 |