示例#1
0
文件: FileInfo.php 项目: mishal/iless
 public function unserialize($serialized)
 {
     $unserialized = Serializer::unserialize($serialized);
     foreach ($unserialized as $var => $val) {
         $this->{$var} = $val;
     }
 }
示例#2
0
 public function unserialize($serialized)
 {
     list($this->path, $this->lastModified, $this->content) = Serializer::unserialize($serialized);
     $this->content = base64_decode($this->content);
 }
示例#3
0
文件: Cache.php 项目: mishal/iless
 /**
  * Unserialized data taken from the cache.
  *
  * @param string $data
  *
  * @return mixed
  */
 protected function unserialize($data)
 {
     return Serializer::unserialize($data);
 }