lithium\data\Collection::unserialize PHP Méthode

unserialize() public méthode

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.
Résultat void
    public function unserialize($data)
    {
        $vars = unserialize($data);
        parent::_init();
        foreach ($vars as $key => $value) {
            $this->{$key} = $value;
        }
    }