(PHP 8 >= 8.6.0)
Time\Duration::__unserialize — Restores a duration from serialized data
Deserializes the array from the data parameter
into a Time\Duration object.
This method is called by unserialize() and is not
meant to be called directly.
dataThe serialized data as an array.
No value is returned.
If data does not describe a valid duration, an
Exception is thrown.