public function BankAccount::withdrawMoney in Zircon Profile 8
Same name in this branch
- 8 vendor/phpunit/phpunit/tests/_files/BankAccount.php \BankAccount::withdrawMoney()
- 8 vendor/phpunit/php-code-coverage/tests/_files/BankAccount.php \BankAccount::withdrawMoney()
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/tests/_files/BankAccount.php \BankAccount::withdrawMoney()
- 8.0 vendor/phpunit/php-code-coverage/tests/_files/BankAccount.php \BankAccount::withdrawMoney()
File
- vendor/
phpunit/ php-code-coverage/ tests/ _files/ BankAccount.php, line 27
Class
Code
public function withdrawMoney($balance) {
$this
->setBalance($this
->getBalance() - $balance);
return $this
->getBalance();
}