Time\Duration::__unserialize

(PHP 8 >= 8.6.0)

Time\Duration::__unserialize — Restores a duration from serialized data

Descrizione

public function Time\Duration::__unserialize(array $data): void

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.

Elenco dei parametri

data

The serialized data as an array.

Valori restituiti

Nessun valore viene restituito.

Errori/Eccezioni

If data does not describe a valid duration, an Exception is thrown.

Vedere anche:

+add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top