Serializable::serialize

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

Serializable::serializeString representation of object

Descrizione

public Serializable::serialize(): ?string

Should return the string representation of the object.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the string representation of the object or null

Errori/Eccezioni

Throws Exception when returning other types than strings and null.

Vedere anche: