function IntlCaster::castIntlCalendar
File
-
vendor/
symfony/ var-dumper/ Caster/ IntlCaster.php, line 128
Class
- IntlCaster
- @author Nicolas Grekas <p@tchwork.com> @author Jan Schädlich <jan.schaedlich@sensiolabs.de>
Namespace
Symfony\Component\VarDumper\CasterCode
public static function castIntlCalendar(\IntlCalendar $c, array $a, Stub $stub, bool $isNested, int $filter = 0) : array {
$a += [
Caster::PREFIX_VIRTUAL . 'type' => $c->getType(),
Caster::PREFIX_VIRTUAL . 'first_day_of_week' => $c->getFirstDayOfWeek(),
Caster::PREFIX_VIRTUAL . 'minimal_days_in_first_week' => $c->getMinimalDaysInFirstWeek(),
Caster::PREFIX_VIRTUAL . 'repeated_wall_time_option' => $c->getRepeatedWallTimeOption(),
Caster::PREFIX_VIRTUAL . 'skipped_wall_time_option' => $c->getSkippedWallTimeOption(),
Caster::PREFIX_VIRTUAL . 'time' => $c->getTime(),
Caster::PREFIX_VIRTUAL . 'in_daylight_time' => $c->inDaylightTime(),
Caster::PREFIX_VIRTUAL . 'is_lenient' => $c->isLenient(),
Caster::PREFIX_VIRTUAL . 'time_zone' => $filter & Caster::EXCLUDE_VERBOSE ? new CutStub($c->getTimeZone()) : $c->getTimeZone(),
];
return self::castError($c, $a);
}