Total Complexity | 6 |
Total Lines | 62 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class RecentTradesRequest implements RequestInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $assetPair; |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private $since; |
||
22 | |||
23 | /** |
||
24 | * RecentTradesRequest constructor. |
||
25 | * |
||
26 | * @param string $assetPair |
||
27 | * @param string $since |
||
28 | */ |
||
29 | 2 | public function __construct($assetPair, $since) |
|
30 | { |
||
31 | 2 | $this->assetPair = $assetPair; |
|
32 | 2 | $this->since = $since; |
|
33 | 2 | } |
|
34 | |||
35 | |||
36 | /** |
||
37 | * Returns the api request name |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | 1 | public function getMethod() |
|
44 | } |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | 1 | public function getVisibility() |
|
52 | } |
||
53 | |||
54 | /** |
||
55 | * @return array |
||
56 | */ |
||
57 | 1 | public function getRequestData() |
|
66 | } |
||
67 | |||
68 | /** |
||
69 | * @return string |
||
70 | */ |
||
71 | 1 | public function getResponseClassName() |
|
74 | } |
||
75 | } |
||
76 |