Example #1
0
 /**
  * Tells if a Money value is greater than current Money object
  *
  * @param MoneyInterface $other
  *
  * @return boolean Current money is greater than given as parameter
  */
 public function isGreaterThan(MoneyInterface $other)
 {
     return $this->wrappedMoney->greaterThan($this->newWrappedMoneyFromMoney($other));
 }