Serializable::serialize

(PHP 5 >= 5.1.0, PHP 7)

Serializable::serializeString representation of object

Descrição

abstract public Serializable::serialize ( void ) : string

Should return the string representation of the object.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Returns the string representation of the object or NULL

Erros

Throws Exception when returning other types than strings and NULL.

Veja Também