/**
* @return array
*/
public static function castMessageFormatter(\MessageFormatter
$c, array
$a, Stub
$stub, bool
$isNested) { $a +=
[ Caster::PREFIX_VIRTUAL.'locale' =>
$c->
getLocale(),
Caster::PREFIX_VIRTUAL.'pattern' =>
$c->
getPattern(),
];
return self::
castError($c,
$a);
} /**
* @return array
*/
public static function castNumberFormatter(\NumberFormatter
$c, array
$a, Stub
$stub, bool
$isNested, int
$filter = 0
) { $a +=
[ Caster::PREFIX_VIRTUAL.'locale' =>
$c->
getLocale(),
Caster::PREFIX_VIRTUAL.'pattern' =>
$c->
getPattern(),
];