lithium\data\Entity::unserialize PHP Метод

unserialize() публичный Метод

Restores state of the object including pulled results. Tries to restore _handlers by calling into _init().
public unserialize ( string $data ) : void
$data string Serialized properties of the object.
Результат void
    public function unserialize($data)
    {
        $data = unserialize($data);
        static::_init();
        foreach ($data as $key => $value) {
            $this->{$key} = $value;
        }
    }