Unserializes a resultset.

Part of Serializable interface.

@param string $serialized Serialized object
@return void
482946
public function unserialize($serialized)
    {
        $results = (array)(unserialize($serialized) ?: []);
        $this->_results = SplFixedArray::fromArray($results);
        $this->_useBuffering = true;
        $this->_count = $this->_results->count();
    }
1135308
public function unserialize($serialized) : void
    {
        $doc = DOMDocumentFactory::fromString(unserialize($serialized));
        $this->xml = $doc->documentElement;
        $this->setLocalName($this->xml->localName);
        $this->setNamespaceURI($this->xml->namespaceURI);
    }
773837
public function unserialize($serialized)
    {
        list(
            $this->ffmpegBinary,
            $this->movieFile,
            $this->output,
            $this->frameNumber,
            $this->provider
        ) = unserialize($serialized);
    }
660119
public function unserialize($serialized)
    {
        $list = unserialize($serialized);
        if (is_array($list)) {
            foreach ($list as $index => $value) {
                $this[$index] = $value;
            }
        }
    }
538800
protected function unserializeResponse($serialized)
    {
        $array = unserialize($serialized);
        if (!is_array($array) || 3 !== count($array)) {
            throw new Exception(sprintf('Error unserializing response: %s', $serialized));
        }

        return new Response($array[0], $array[1], $array[2]);
    }
82589
public function unserialize($serialized)
    {
        list (
            $this->id,
            $this->nameId,
            $this->institution,
            $this->email,
            $this->commonName,
            $this->preferredLocale
        ) = unserialize($serialized);
    }
482875
public function unserialize($serialized)
    {
        list($type, $id) = json_decode($serialized);
        $this->type = $type;
        $this->id = $id;
    }
739663
public function unserialize($serialized)
    {
        list(
            $this->path,
            $this->schemes,
            $this->methods,
            $this->defaults,
            $this->constraints,
            $this->parts,
            $this->compiled
        ) = unserialize($serialized);
    }
1132131
public function unserialize($serialized){

		list($this->_host, $this->_port) = explode(':', unserialize($serialized));

		$this->_Memcache = new \Memcache();

		if(!Memcache::connect($this->_Memcache, $this->_host, $this->_port)){

			throw new CacheException('Failed to connect to Memcache');
		}
	}
1296380
public function unserialize($serialized) {
		$arr = \unserialize($serialized);
		$this->_Value = $arr[0];
		$this->_Encoding = $arr[1];
	}
1295982
public function unserialize($serialized)
    {
        $attributes = unserialize($serialized);

        $conn = Ioc::make(Pool::class)->getConnection();
        $db = $conn->defaultDatabase;
        $collectionObject = $conn->getRawConnection()->$db->{$attributes['collection']};

        foreach ($attributes as $key => $value) {
            $this->$key = $value;
        }

        $this->collection = $collectionObject;
    }
940944
public function unserialize( $serial )
	{
		list( $this->message, $this->code, $this->file, $this->line, $this->resource ) = unserialize( $serial );
	}
535861
public function unserialize($serialized)
    {
        foreach (unserialize($serialized) as $item => $value) {
            $this->$item = $value;
        }
    }
1045594
public function unserialize($serialized)
    {
        $raw = unserialize($serialized);
        foreach ($this->listProperties() as $propName) {
            if (array_key_exists($propName, $raw)) {
                $this->{$propName} = $raw[$propName];
            }
        }
    }
725704
public function unserialize( $serial )
	{
		list( $this->message, $this->code, $this->file, $this->line, $this->errors, $this->form ) = unserialize( $serial );
	}
234774
public function unserialize($serialized)
    {
        list(
            $this->id,
            $this->username,
            $this->password,
            $this->salt,
            $this->roles
            ) = unserialize($serialized, []);
    }
741993
public function unserialize($serialized)
    {
        list($this->message, $this->code, $this->file, $this->line) = unserialize($serialized);
    }