◆ depositMoney() [1/2]
      
        
          | BankAccount::depositMoney  | 
          ( | 
            | 
          $balance | ) | 
           | 
        
      
 
 
◆ depositMoney() [2/2]
      
        
          | BankAccount::depositMoney  | 
          ( | 
            | 
          $balance | ) | 
           | 
        
      
 
Deposits an amount of money to the bank account.
- Parameters
 - 
  
  
 
- Exceptions
 - 
  
  
 
 
 
◆ getBalance() [1/2]
      
        
          | BankAccount::getBalance  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ getBalance() [2/2]
      
        
          | BankAccount::getBalance  | 
          ( | 
           | ) | 
           | 
        
      
 
Returns the bank account's balance.
- Returns
 - float 
 
 
 
◆ setBalance() [1/2]
  
  
      
        
          | BankAccount::setBalance  | 
          ( | 
            | 
          $balance | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ setBalance() [2/2]
  
  
      
        
          | BankAccount::setBalance  | 
          ( | 
            | 
          $balance | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Sets the bank account's balance.
- Parameters
 - 
  
  
 
- Exceptions
 - 
  
  
 
 
 
◆ withdrawMoney() [1/2]
      
        
          | BankAccount::withdrawMoney  | 
          ( | 
            | 
          $balance | ) | 
           | 
        
      
 
 
◆ withdrawMoney() [2/2]
      
        
          | BankAccount::withdrawMoney  | 
          ( | 
            | 
          $balance | ) | 
           | 
        
      
 
Withdraws an amount of money from the bank account.
- Parameters
 - 
  
  
 
- Exceptions
 - 
  
  
 
 
 
◆ $balance
  
  
      
        
          | BankAccount::$balance = 0 | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file: