public function unserialize($serialized) { $unserialized = Serializer::unserialize($serialized); foreach ($unserialized as $var => $val) { $this->{$var} = $val; } }
public function unserialize($serialized) { list($this->path, $this->lastModified, $this->content) = Serializer::unserialize($serialized); $this->content = base64_decode($this->content); }
/** * Unserialized data taken from the cache. * * @param string $data * * @return mixed */ protected function unserialize($data) { return Serializer::unserialize($data); }