public function denormalize(mixed
$data, ?string
$type = null, ?string
$format = null, array
$context =
[]) { if (\
is_string($data) &&
$date =
$this->
createDate($data)) { return $date;
} if (!\
is_array($data)) { return $data;
} if (!
$this->
isObject($data)) { return array_map($this->
denormalize(...
),
$data);
} /** @var class-string<object> $class */
$class =
$data['_class'
];
unset($data['_class'
]);
// iterate arguments to resolve other serialized objects
$arguments =
array_map(fn ($argument) =>
$this->
denormalize($argument),
$data);
// create object instance