/home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Localization
NameSizeModeActions
CLDR/-0755rm
Currency/-0755rm
Exception/-0755rm
Locale/-0755rm
Number/-0755rm
Pack/-0755rm
RTL/-0755rm
Specification/-0755rm
Currency.php56530644editdlrm
CurrencyInterface.php38650644editdlrm
Locale.php61460644editdlrm
LocaleInterface.php17700644editdlrm
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/src/Core/Localization/LocaleInterface.php (1770B)
* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ namespace PrestaShop\PrestaShop\Core\Localization; /** * Locale entity interface. * * Describes the behavior of locale classes */ interface LocaleInterface { /** * Format a number according to locale rules. * * @param int|float|string $number The number to be formatted * * @return string The formatted number */ public function formatNumber($number); /** * Format a number as a price. * * @param int|float|string $number Number to be formatted as a price * @param string $currencyCode Currency of the price * * @return string The formatted price */ public function formatPrice($number, $currencyCode); }