Unpack a serialized Address into this object.
@param string $serialized
979709
public function unserialize($serialized)
    {
        $entries = explode(':', $serialized, 2);
        $this->bin = null;
        $this->key = null;
        if (count($entries) === 2) {
            list($bin_length, $bin_and_key) = $entries;
            $bin_length = intval($bin_length);
            $this->bin = substr($bin_and_key, 0, $bin_length);
            $this->key = substr($bin_and_key, $bin_length + 1);
        }

        // @TODO: Remove check against false for PHP 7+
        if (false === $this->key || '' === $this->key) {
            $this->key = null;
        }
    }
1317545
public function unpack($packed)
    {
        if (!$packed instanceof Binary) {
            throw new InvalidArgumentException("packed value should be BSON binary");
        }

        return unserialize((string)$packed, $this->options);
    }
93641
public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        $this->inspector = new Inspector($this);
        foreach ($data as $key => $value) {
            $this->$key = $value;
        }
        return $this;
    }
25121
public function unserialize($serialized)
    {
        foreach (unserialize($serialized) as $property => $value) {
            $this->{$property} = $value;
        }
    }
671864
public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        $this->data = $data['data'];
        $this->setOriginalData($data['originalData']);
    }
358314
public function unserialize($serialized)
    {
        list($this->parentAcl,
             $this->objectIdentity,
             $this->classAces,
             $this->classFieldAces,
             $this->objectAces,
             $this->objectFieldAces,
             $this->id,
             $this->loadedSids,
             $this->entriesInheriting
        ) = unserialize($serialized);

        $this->listeners = array();
    }
851028
public function unserialize($serialized)
	{
		$this->tokens = [];

		$tokenFactory = $this->getTokenFactory();
		$it = new SerializedTokenIterator(json_decode($serialized, true));

		$this->preUnserialize($it);

		while($it->valid())
		{
			$this->tokens[] = $tokenFactory->createToken($it);
		}

		$this->postUnserialize($it);
	}
545031
public function unserialize($serialized) {
            $s = unserialize($serialized);
            $this->defaults = $s[0];
            $this->custom = $s[1];
            $this->merge();
        }
687012
public function unserialize($serialized) : void
    {
        $doc = DOMDocumentFactory::fromString(unserialize($serialized));
        $this->element = $doc->documentElement;
    }
697293
public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        if (!is_array($data)) {
            throw new \UnexpectedValueException('Unserialized data is not an array');
        }

        // TODO: check existence
        $this->message      = CustomAmqpMessage::fromProperties($data['message']);
        $this->tag          = (string) $data['tag'];
        $this->exchange     = (string) $data['exchange'];
        $this->queue        = (string) $data['queue'];
        $this->routingKey   = (string) $data['routingKey'];
        $this->redelivered  = (bool) $data['routingKey'];
    }
812258
public function unserialize($serialized)
    {
        $data = unserialize($serialized);

        $this->name = $data['name'];
        $this->type = $data['type'];
        $this->picklistEntries = $data['picklistEntries'];
        $this->fieldMetadata = $data['fieldMetadata'];
        $this->required = $data['required'];
        $this->readonly = $data['readonly'];
        $this->label = $data['label'];
    }
486902
public function unserialize($serialized)
    {
        list($this->mask,
             $this->id,
             $this->securityIdentity,
             $this->strategy,
             $this->auditFailure,
             $this->auditSuccess,
             $this->granting
        ) = unserialize($serialized);
    }
1045891
public function unserialize($serialized = null)
    {
        if (is_null($serialized)) {
            return unserialize($this->serialize);
        }

        return unserialize($serialized);
    }
133691
public function unserialize($serialized) {
        $data = msgpack_unpack($serialized);
        $this->check        = $data['check'];
        $this->base         = $data['base'];
        $this->index        = $data['index'];
        $this->fail_states  = $data['fail_states'];
        $this->index_count  = $data['index_count'];
        $this->index_code   = $data['index_code'];
        $this->tmp_tree     = $data['tmp_tree'];
        $this->word_states  = $data['word_states'] ?? $data['words_states'];
        $this->begin_used   = $data['begin_used'];
    }
109127
public function unserialize($serialized)
    {
        list(
            $this->name,
            $this->params,
            $this->stopPropagation
            ) = \unserialize($serialized, ['allowed_classes' => false]);
    }
250615
public function unserialize($serialized)
	{
		list(	$this->deviceToken,
				$this->certificate,
				$this->expiresAt,
				$this->alert,
				$this->badge,
				$this->sound,
				$this->payload,
				$this->contentAvailable) = unserialize($serialized);
	}
984635
public function unserialize($serialized)
    {
        Validate::isString($serialized, 'serialized');

        $json = json_decode($serialized);
        if ($json && !is_array($json)) {
            return get_object_vars($json);
        } else {
            return $json;
        }
    }