Model
DefaultLocator
Magento\Directory\Model\Currency\DefaultLocator
What it does
This class determines the default base currency code for a given scope (store, website, or store group) based on request parameters.
Developers use it to retrieve the appropriate base currency when working with multi-store or multi-currency Magento installations, particularly in admin panel contexts where scope-specific currency configuration is needed.
Public Methods
- getDefaultCurrency()