class NumberPatternSymbol in Currency 7.2
Describes a character from a number pattern .
Hierarchy
- class \BartFeenstra\CLDR\NumberPatternSymbol
Expanded class hierarchy of NumberPatternSymbol
File
- currency/
vendor/ bartfeenstra/ cldr/ src/ BartFeenstra/ CLDR/ NumberPatternSymbol.php, line 13 - Contains class \BartFeenstra\CLDR\NumberPatternSymbol.
Namespace
BartFeenstra\CLDRView source
class NumberPatternSymbol {
/**
* Whether the symbol is escaped or not.
*
* @var boolean
*/
public $escaped = FALSE;
/**
* Whether this symbol escapes another or not.
*
* @var boolean
*/
public $escapes_other_symbol = FALSE;
/**
* The symbol's position in the original pattern.
*
* @var integer
*/
public $position = NULL;
/**
* The symbol's replacement value.
*
* @var string
*/
public $replacement = NULL;
/**
* The symbol.
*
* @var string
*/
public $symbol = NULL;
/**
* Implements __construct().
*/
function __construct($symbol, $position = NULL, $escaped = FALSE) {
$this->symbol = $symbol;
$this->position = $position;
$this->escaped = $escaped;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
NumberPatternSymbol:: |
public | property | Whether the symbol is escaped or not. | |
NumberPatternSymbol:: |
public | property | Whether this symbol escapes another or not. | |
NumberPatternSymbol:: |
public | property | The symbol's position in the original pattern. | |
NumberPatternSymbol:: |
public | property | The symbol's replacement value. | |
NumberPatternSymbol:: |
public | property | The symbol. | |
NumberPatternSymbol:: |
function | Implements __construct(). |