demo\Account::deposit PHP Метод

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

Deposits fixed amount of money to the account
public deposit ( float $amount )
$amount float
    public function deposit($amount)
    {
        $this->balance += $amount;
    }