123456789101112131415161718192021222324252627282930 |
- <?php
- /**
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Framework\Locale;
- /**
- * Provides access to currency config information
- *
- * @api
- * @since 100.0.2
- */
- interface CurrencyInterface
- {
- /**
- * Retrieve default currency code
- *
- * @return string
- */
- public function getDefaultCurrency();
- /**
- * Create Currency object for current locale
- *
- * @param string $currency
- * @return \Magento\Framework\Currency
- */
- public function getCurrency($currency);
- }
|