Serializable
PHP 手册

Serializable::unserialize

(No version information available, might be only in CVS)

Serializable::unserializeConstructs the object

说明

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

Called during unserialization of the object.

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

参数

serialized

The string representation of the object.

返回值

Returns the original value unserialized.

参见


Serializable
PHP 手册