コード例 #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));
 }