src/TypedClass.php
public function unserialize($serialized): void
	{
		$this->_initMetaData();

		$data = unserialize($serialized);

		foreach ($data as $k => $v) {
			$this->{$k} = $v;
		}
	}
public function unserialize($serialized): void
	{
		$this->_initMetaData();

		$data = unserialize($serialized);

		foreach ($data as $k => $v) {
			$this->{$k} = $v;
		}
	}
public function unserialize ( $ serialized ) : void { $ this -> _initMetaData ( ) ; $ data = unserialize ( $ serialized ) ; foreach ( $ data as $ k => $ v ) { $ this -> { $ k } = $ v ; } }
Constructs the object.

This uses a faster but unsafe restore technique. It assumes that the
serialized data was created by the local serialize method and was
safely stored locally. No type checking is performed on restore. All
data structure members have been serialized so no initialization of
empty need be done.

@link  https://php.net/manual/en/serializable.unserialize.php

@param string $serialized The string representation of the object.

@return void
Constructs the object .