'FORMAT_WIDTH' =>
$c->
getAttribute(\NumberFormatter::FORMAT_WIDTH
),
'PADDING_POSITION' =>
$c->
getAttribute(\NumberFormatter::PADDING_POSITION
),
'SECONDARY_GROUPING_SIZE' =>
$c->
getAttribute(\NumberFormatter::SECONDARY_GROUPING_SIZE
),
'SIGNIFICANT_DIGITS_USED' =>
$c->
getAttribute(\NumberFormatter::SIGNIFICANT_DIGITS_USED
),
'MIN_SIGNIFICANT_DIGITS' =>
$c->
getAttribute(\NumberFormatter::MIN_SIGNIFICANT_DIGITS
),
'MAX_SIGNIFICANT_DIGITS' =>
$c->
getAttribute(\NumberFormatter::MAX_SIGNIFICANT_DIGITS
),
'LENIENT_PARSE' =>
$c->
getAttribute(\NumberFormatter::LENIENT_PARSE
),
] ),
Caster::PREFIX_VIRTUAL.'text_attributes' =>
new EnumStub( [ 'POSITIVE_PREFIX' =>
$c->
getTextAttribute(\NumberFormatter::POSITIVE_PREFIX
),
'POSITIVE_SUFFIX' =>
$c->
getTextAttribute(\NumberFormatter::POSITIVE_SUFFIX
),
'NEGATIVE_PREFIX' =>
$c->
getTextAttribute(\NumberFormatter::NEGATIVE_PREFIX
),
'NEGATIVE_SUFFIX' =>
$c->
getTextAttribute(\NumberFormatter::NEGATIVE_SUFFIX
),
'PADDING_CHARACTER' =>
$c->
getTextAttribute(\NumberFormatter::PADDING_CHARACTER
),
'CURRENCY_CODE' =>
$c->
getTextAttribute(\NumberFormatter::CURRENCY_CODE
),
'DEFAULT_RULESET' =>
$c->
getTextAttribute(\NumberFormatter::DEFAULT_RULESET
),
'PUBLIC_RULESETS' =>
$c->
getTextAttribute(\NumberFormatter::PUBLIC_RULESETS
),
] ),
Caster::PREFIX_VIRTUAL.'symbols' =>
new EnumStub( [