PHP Интерфейс demo\AccountContractInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
deposit ( float $amount ) Deposits fixed amount of money to the account
getBalance ( ) : float Returns current balance

Описание методов

deposit() публичный Метод

Deposits fixed amount of money to the account
public deposit ( float $amount )
$amount float

getBalance() публичный Метод

Returns current balance
public getBalance ( ) : float
Результат float