Пример #1
0
 /**
  * Returns whether this Money is greater than or equal to the given Money.
  *
  * @param Money $that
  *
  * @return bool
  *
  * @throws CurrencyMismatchException If the given Money is in a different currency.
  */
 public function isGreaterThanOrEqualTo(Money $that)
 {
     $this->checkMoney($that);
     return $this->amount->isGreaterThanOrEqualTo($that->amount);
 }