Demo\Aspect\Introduce\SerializableImpl::unserialize PHP Method

unserialize() public method

Constructs the object
public unserialize ( string $serialized ) : mixed
$serialized string

The string representation of the object.

return mixed the original value unserialized.
    public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        foreach ($data as $key => $value) {
            $this->{$key} = $value;
        }
    }
SerializableImpl