Php/docs/serializable.unserialize

From Get docs

Serializable::unserialize

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

Serializable::unserializeConstructs the object


Description

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

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

The return value from this method is ignored.