function IntegerFormatter::getReplacement in Currency 7.2
Gets a replacement symbol for a placeholder.
Parameters
string $symbol: One of the self::SYMBOL_SPECIAL_* constants.
Return value
string
2 calls to IntegerFormatter::getReplacement()
- DecimalFormatter::format in currency/
vendor/ bartfeenstra/ cldr/ src/ BartFeenstra/ CLDR/ DecimalFormatter.php - Overrides parent::format().
- IntegerFormatter::replacePlaceholders in currency/
vendor/ bartfeenstra/ cldr/ src/ BartFeenstra/ CLDR/ IntegerFormatter.php - Replaces placeholders.
File
- currency/
vendor/ bartfeenstra/ cldr/ src/ BartFeenstra/ CLDR/ IntegerFormatter.php, line 291 - Contains class \BartFeenstra\CLDR\IntegerFormatter.
Class
- IntegerFormatter
- Formats an integer according CLDR number pattern guidelines.
Namespace
BartFeenstra\CLDRCode
function getReplacement($symbol) {
return isset($this->symbol_replacements[$symbol]) ? $this->symbol_replacements[$symbol] : $symbol;
}