Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
CurrencyInterface Interface Reference
Inheritance diagram for CurrencyInterface:
Currency

Public Member Functions

 getDefaultCurrency ()
 
 getCurrency ($currency)
 

Detailed Description

Provides access to currency config information

@api

Since
100.0.2

Definition at line 14 of file CurrencyInterface.php.

Member Function Documentation

◆ getCurrency()

getCurrency (   $currency)

Create Currency object for current locale

Parameters
string$currency
Returns
\Magento\Framework\Currency

Implemented in Currency.

◆ getDefaultCurrency()

getDefaultCurrency ( )

Retrieve default currency code

Returns
string

Implemented in Currency.


The documentation for this interface was generated from the following file: