Total Complexity | 7 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class RecentTradesResponse implements ResponseInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var RecentTradeModel[][] |
||
16 | */ |
||
17 | private $tradeModel = []; |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | private $last; |
||
22 | |||
23 | /** |
||
24 | * @param $result |
||
25 | */ |
||
26 | 1 | public function manualMapping($result) |
|
36 | 1 | } |
|
37 | 1 | } |
|
38 | 1 | } |
|
39 | |||
40 | /** |
||
41 | * @param string $assetPair |
||
42 | * |
||
43 | * @return RecentTradeModel[] |
||
44 | */ |
||
45 | 1 | public function getTradeModel($assetPair) |
|
52 | } |
||
53 | |||
54 | /** |
||
55 | * @return int |
||
56 | */ |
||
57 | 1 | public function getLast() |
|
62 |