| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class Kline extends PublicEndpoint |
||
| 15 | { |
||
| 16 | public function getEndpointRequestMethod(): string |
||
| 17 | { |
||
| 18 | return EnumHttpMethods::GET; |
||
| 19 | } |
||
| 20 | |||
| 21 | protected function getEndpointUrl(): string |
||
| 22 | { |
||
| 23 | return "/derivatives/v3/public/kline"; |
||
| 24 | } |
||
| 25 | |||
| 26 | protected function getRequestClassname(): string |
||
| 27 | { |
||
| 28 | return KlineRequest::class; |
||
| 29 | } |
||
| 30 | |||
| 31 | protected function getResponseClassnameByCondition(array &$apiData = null): string |
||
| 34 | } |
||
| 35 | } |
||
| 36 |