Constructs the object

Serializable::serialize
Context options and parameters
Serializable
PHP Manual

# Serializable::unserialize

(PHP 5 >= 5.1.0)

Serializable::unserialize — Constructs the object

### Description

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.

### Parameters

`serialized`

  The string representation of the object.

### Return Values

Returns the original value unserialized.

### See Also

- __wakeup()

Serializable::serialize
Context options and parameters
Serializable
PHP Manual