Total Complexity | 5 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | class TickerAbstractRequest extends AbstractRequest |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var array |
||
18 | */ |
||
19 | private $pairs; |
||
20 | |||
21 | /** |
||
22 | * TicketRequest constructor. |
||
23 | * |
||
24 | * @param array $pairs |
||
25 | */ |
||
26 | 2 | public function __construct(array $pairs) |
|
29 | 2 | } |
|
30 | |||
31 | /** |
||
32 | * Returns the api request name |
||
33 | * |
||
34 | * @return string |
||
35 | */ |
||
36 | 1 | public function getMethod() |
|
37 | { |
||
38 | 1 | return 'Ticker'; |
|
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | 1 | public function getVisibility() |
|
45 | { |
||
46 | 1 | return VisibilityEnum::VISIBILITY_PUBLIC; |
|
47 | } |
||
48 | |||
49 | /** |
||
50 | * @return array |
||
51 | */ |
||
52 | 1 | public function getRequestData() |
|
55 | } |
||
56 | |||
57 | /** |
||
58 | * @return string |
||
59 | */ |
||
60 | 1 | public function getResponseClassName() |
|
63 | } |
||
64 | } |
||
65 |