Serializable
PHP Manual

Serializable::unserialize

(PHP 5 >= 5.1.0, PHP 7)

Serializable::unserializeConstructs the object

Descrição

abstract public void Serializable::unserialize ( string $serialized )

Called during unserialization of the object.

Nota:

This method acts as the constructor of the object. The __construct() method will not be called after this method.

Parâmetros

serialized

The string representation of the object.

Valor Retornado

The return value from this method is ignored.

Veja Também


Serializable
PHP Manual