Пример #1
0
 /**
  * Checks whether other money has the same currency
  *
  * @param Money $other The other monetary value
  *
  * @return bool
  */
 public function isSameCurrency(Money $other) : bool
 {
     return $this->currency->equals($other->currency);
 }