CurrencyRepositoryInterface
Currency repository interface.
- Full name:
\CommerceGuys\Intl\Currency\CurrencyRepositoryInterface
Methods
get
Gets a currency matching the provided currency code.
Parameters:
Parameter | Type | Description |
---|---|---|
$currencyCode |
string | The currency code. |
$locale |
string | The locale (i.e. fr-FR). |
getAll
Gets all currencies.
Parameters:
Parameter | Type | Description |
---|---|---|
$locale |
string | The locale (i.e. fr-FR). |
Return Value:
An array of currencies, keyed by currency code.
getList
Gets a list of currencies.
Parameters:
Parameter | Type | Description |
---|---|---|
$locale |
string | The locale (i.e. fr-FR). |
Return Value:
An array of currency names, keyed by currency code.
Automatically generated on 2025-03-18