You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, \Magento\Framework\Pricing\PriceCurrencyInterface depends on:
\Magento\Store\Model\Store
\Magento\Directory\Model\Currency
Is it intended for PriceCurrencyInterface, which is part of the framework, to depend on application classes?
Furthermore, shouldn't those dependencies be on interfaces instead of on concrete implementations?
The functionality provided by this interface is very much coupled to Magento's application code (it's only real purpose seems to be to simplify working with a Store object, such that the consumer doesn't have to extract configuration from the Store object); as such it seems wrong for the interface to live in \Magento\Framework.