Exemplo n.º 1
0
 /**
  * Pass money account parameters as much as you have.
  *
  * @param array $params
  * @throws SupplierNotFoundException
  * @return int
  */
 public function save(array $params)
 {
     if (is_null($this->accountId)) {
         throw new SupplierNotFoundException('Money Account not defined.');
     }
     return $this->moneyAccountDao->save($params, ['id' => $this->accountId]);
 }