Log in
Model

CurrencyConfig

Magento\Directory\Model\CurrencyConfig

What it does

This class retrieves currency configuration values (allowed, base, and default currencies) from Magento store settings.

Developers use it to get currency codes either for all stores (in admin/cron contexts) or for the current store (in frontend contexts).

It handles the logic of fetching and formatting currency configuration data based on the application area.

Public Methods

  • getConfigCurrencies()