demo\Account::deposit PHP Method

deposit() public method

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