예제 #1
0
파일: Money.php 프로젝트: coolms/money
 /**
  * Checks whether a Money has the same Currency as this
  *
  * @param Money $money
  * @return bool
  */
 public function isSameCurrency(Money $money)
 {
     return $this->currency->equals($money->currency);
 }