Conditions | 4 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function manualMapping($data) |
||
30 | { |
||
31 | $this->last = $data["last"]; |
||
32 | |||
33 | foreach ($data as $assetPair => $assetDataArr) { |
||
34 | if ($assetPair == "last") { |
||
35 | continue; |
||
36 | } |
||
37 | |||
38 | foreach ($assetDataArr as $assetData) { |
||
39 | $this->ohlcDataModels[] = new OHLCDataModel($assetData[0], $assetData[1], $assetData[2], $assetData[3], $assetData[4], $assetData[5], $assetData[6], $assetData[7]); |
||
40 | } |
||
60 |