Exemplo n.º 1
0
 public function __construct(Bank $bank)
 {
     parent::__construct("bank {$bank->getBankID()} has no main agency.");
     $this->bank = $bank;
 }
Exemplo n.º 2
0
 public function __construct($bankID)
 {
     parent::__construct("bank {$bankID} not found");
     $this->bankID = $bankID;
 }