| Total Complexity | 4 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class AskBidModel |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var float |
||
| 17 | */ |
||
| 18 | private $price; |
||
| 19 | /** |
||
| 20 | * @var float |
||
| 21 | */ |
||
| 22 | private $wholeLotVolume; |
||
| 23 | /** |
||
| 24 | * @var float |
||
| 25 | */ |
||
| 26 | private $lotVolume; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * AskBidModel constructor. |
||
| 30 | * |
||
| 31 | * @param float $price |
||
| 32 | * @param float $wholeLotVolume |
||
| 33 | * @param float $lotVolume |
||
| 34 | */ |
||
| 35 | 2 | public function __construct($price, $wholeLotVolume, $lotVolume) |
|
| 40 | 2 | } |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return float |
||
| 44 | */ |
||
| 45 | 1 | public function getPrice() |
|
| 48 | } |
||
| 49 | |||
| 50 | /** |
||
| 51 | * @return float |
||
| 52 | */ |
||
| 53 | 1 | public function getWholeLotVolume() |
|
| 54 | { |
||
| 55 | 1 | return $this->wholeLotVolume; |
|
| 56 | } |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return float |
||
| 60 | */ |
||
| 61 | 1 | public function getLotVolume() |
|
| 64 | } |
||
| 65 | } |
||
| 66 |