| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class AccountBalanceModel |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $assetName; |
||
| 19 | /** |
||
| 20 | * @var float |
||
| 21 | */ |
||
| 22 | private $balance; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * AccountBalanceModel constructor. |
||
| 26 | * |
||
| 27 | * @param string $assetName |
||
| 28 | * @param float $balance |
||
| 29 | */ |
||
| 30 | 2 | public function __construct($assetName, $balance) |
|
| 34 | 2 | } |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | 2 | public function getAssetName() |
|
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return float |
||
| 46 | */ |
||
| 47 | 2 | public function getBalance() |
|
| 52 |