Beispiel #1
0
 /**
  * Returns whether this Money is less than the given Money
  *
  * @param Money $that
  *
  * @return bool
  *
  * @throws CurrencyMismatchException If the given Money is in a different currency.
  */
 public function isLessThan(Money $that)
 {
     $this->checkMoney($that);
     return $this->amount->isLessThan($that->amount);
 }