Brick\Money v0.4.4 Release Notes

Release Date: 2020-01-23 // about 4 years ago
  • 🆕 ✨ 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.