예제 #1
0
파일: Money.php 프로젝트: xphere/elcodi
 /**
  * Tells if a Money value is less than current Money object
  *
  * @param MoneyInterface $other
  *
  * @return boolean Current money is less than given as parameter
  */
 public function isLessThan(MoneyInterface $other)
 {
     return $this->wrappedMoney->lessThan($this->newWrappedMoneyFromMoney($other));
 }