|
@@ 35-37 (lines=3) @@
|
| 32 |
|
foreach ($result as $assetPair => $askBids) { |
| 33 |
|
$this->assetPair = $assetPair; |
| 34 |
|
|
| 35 |
|
foreach ($askBids["asks"] as $ask) { |
| 36 |
|
$this->asks[] = new Model\OrderBookModel($ask[0], $ask[1], $ask[2]); |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
foreach ($askBids["bids"] as $bids) { |
| 40 |
|
$this->bids[] = new Model\OrderBookModel($bids[0], $bids[1], $bids[2]); |
|
@@ 39-41 (lines=3) @@
|
| 36 |
|
$this->asks[] = new Model\OrderBookModel($ask[0], $ask[1], $ask[2]); |
| 37 |
|
} |
| 38 |
|
|
| 39 |
|
foreach ($askBids["bids"] as $bids) { |
| 40 |
|
$this->bids[] = new Model\OrderBookModel($bids[0], $bids[1], $bids[2]); |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
break; |
| 44 |
|
} |