0.4.4
✨ New method
AbstractMoney::isAmountAndCurrencyEqualTo()
compares a money to another. (#17)
This method is different from isEqualTo()
in 2 aspects:
- it only accepts another money, not a raw number;
- it returns
false
if the money is in another currency, instead of throwing an exception.