- fix deprecation with doctrine, objectManager => EntityManager (thanks @mogilvie)
- alias for MoneyManager Class (thanks @yvalentin)
- various deprecations and fixes (thanks @johanwilfer)
- Updated to
moneyphp/money
v.3.0MoneyObject->getCurrency->getName()
should be changed toMoneyObject->getCurrency->getCode()
MoneyObject->getAmount()
now returns astring
instead of aint
- Removed autoregistration of custom Doctrine Money type. You should add it by hand, as described in installation instructions. Checkout discussion for details.
Twig filters:
- removed
amount | money_get_currency
filter, useamount.currency
instead - removed
currency | currency_name
filter, usercurrency.code
instead