Serializable::unserialize
PHP Manual
PHP Manual»Serializable»Serializable::unserialize

Serializable::unserialize

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

Serializable::unserializeConstructs the object

Опис

public function Serializable::unserialize(string $data): void

Called during unserialization of the object.

Зауваження:

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

Параметри

data

The string representation of the object.

Значення, що повертаються

The return value from this method is ignored.

Прогляньте також

To Top