public function BankAccount::getBalance in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/phpunit/phpunit/tests/_files/BankAccount.php \BankAccount::getBalance()
- 8.0 vendor/phpunit/php-code-coverage/tests/_files/BankAccount.php \BankAccount::getBalance()
Same name and namespace in other branches
- 8 vendor/phpunit/phpunit/tests/_files/BankAccount.php \BankAccount::getBalance()
- 8 vendor/phpunit/php-code-coverage/tests/_files/BankAccount.php \BankAccount::getBalance()
Returns the bank account's balance.
Return value
float
4 calls to BankAccount::getBalance()
- BankAccount::depositMoney in vendor/
phpunit/ phpunit/ tests/ _files/ BankAccount.php - Deposits an amount of money to the bank account.
- BankAccount::depositMoney in vendor/
phpunit/ php-code-coverage/ tests/ _files/ BankAccount.php - BankAccount::withdrawMoney in vendor/
phpunit/ phpunit/ tests/ _files/ BankAccount.php - Withdraws an amount of money from the bank account.
- BankAccount::withdrawMoney in vendor/
phpunit/ php-code-coverage/ tests/ _files/ BankAccount.php
File
- vendor/
phpunit/ phpunit/ tests/ _files/ BankAccount.php, line 34
Class
- BankAccount
- A bank account.
Code
public function getBalance() {
return $this->balance;
}