
| Current Path : /var/www/html/store/vendor/commerceguys/intl/src/Currency/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/store/vendor/commerceguys/intl/src/Currency/CurrencyRepositoryInterface.php |
<?php
namespace CommerceGuys\Intl\Currency;
/**
* Currency repository interface.
*/
interface CurrencyRepositoryInterface
{
/**
* Gets a currency matching the provided currency code.
*
* @param string $currencyCode The currency code.
* @param string $locale The locale (i.e. fr-FR).
*
* @return Currency
*/
public function get($currencyCode, $locale = null);
/**
* Gets all currencies.
*
* @param string $locale The locale (i.e. fr-FR).
*
* @return Currency[] An array of currencies, keyed by currency code.
*/
public function getAll($locale = null);
/**
* Gets a list of currencies.
*
* @param string $locale The locale (i.e. fr-FR).
*
* @return string[] An array of currency names, keyed by currency code.
*/
public function getList($locale = null);
}