Unserialize the tokenizer.

@param string $serialized The serialized tokenizer.
181883
public function unserialize($serialized)
    {
        $unserialized = unserialize($serialized);
        $this->__construct($unserialized['tokens']);
        $this->seek($unserialized['index']);
    }
492650
public function unserialize($serialized)
    {
        list(
            $this->outFilePath,
            $this->width,
            $this->height,
            $this->frameRate,
            $this->loopCount,
            $this->gifData,
            $this->frames,
            $this->counter
        ) = unserialize($serialized);
    }
206336
public function unserialize($serialized)
    {
        /** @var \Ramsey\Uuid\Uuid $uuid */
        $uuid = self::fromString($serialized);
        $this->codec = $uuid->codec;
        $this->numberConverter = $uuid->getNumberConverter();
        $this->fields = $uuid->fields;
    }
1068419
public function unserialize($serialized)
    {
        $args = [$serialized];
        $methodName = __FUNCTION__;

        return $this->findAndCall($methodName, $args);
    }
816413
public function unserialize($serialized)
    {
        $data = Json::decode($serialized);

        foreach (['token', 'cookie_token'] as $key) {
            if (!array_key_exists($key, $data)) {
                throw new SecurityException("Unserialized CSRF token doesn't contain required \"{$key}\" key");
            }
        }

        $this->token = $data['token'];
        $this->cookieToken = $data['cookie_token'];
    }
1128094
public function unserialize($serialized)
    {
        parent::unserialize($serialized);
        foreach ( $this->getMethods() as $item ) {
            $item->setBelongsTo($this);
        }
//        foreach ( $this->getConstants() as $item ) {
//            $item->setBelongsTo($this);
//        }
        foreach ( $this->getProperties() as $item ) {
            $item->setBelongsTo($this);
        }
        foreach ( $this->getTags() as $item ) {
            $item->setBelongsTo($this);
        }
//        return;
//        foreach ( [ $this->getMethods(), $this->getProperties(), $this->getConstants(), $this->getTags() ] as $collection ) {
//            /** @var Collection|AbstractStructure[] $collection */
//            foreach ( $collection as $item ) {
//                $item->setBelongsTo($this);
//            }
//        }
    }
109127
public function unserialize($serialized)
    {
        list(
            $this->name,
            $this->params,
            $this->stopPropagation
            ) = \unserialize($serialized, ['allowed_classes' => false]);
    }
492005
public function unserialize($serializedObject)
    {
        $objectVars = unserialize($serializedObject);

        foreach ($objectVars as $key => $value) {
            $this->{$key} = $value;
        }
    }
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);
    }
367910
public function unserialize($serialized)
    {
        $payload = unserialize($serialized);

        // We will extract the variables into the current scope so that as the Closure
        // is built it will inherit the scope it had before it was serialized which
        // will emulate the Closures existing in that scope instead of right now.
        extract($payload['variables']);

        eval('$this->closure = '.$payload['code'].';');

        $this->reflection = new ReflectionFunction($this->closure);
    }
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;
        }
    }
844183
public function unserialize($serialized)
    {
        $spec = unserialize($serialized);

        $this->setOptions($spec);

        // Determine device class and ensure the class is loaded
        $deviceClass          = $spec['device_class'];
        if (!class_exists($deviceClass)) {
            $this->_getUserAgentDevice($this->getBrowserType());
        }

        // Get device specification and instantiate
        $deviceSpec            = unserialize($spec['device']);
        $deviceSpec['_config'] = $this->getConfig();
        $deviceSpec['_server'] = $this->getServer();
        $this->_device = new $deviceClass($deviceSpec);
    }
311537
public function unserialize($serialized)
    {
        list($this->messages, $this->isValid) = json_decode($serialized, true);
    }
652181
public function unserialize($serialized)
    {
        $data = unserialize($serialized, ['']);
        $this->body = $data['body'];
        $this->status = $data['status'];
        $this->headers = $data['headers'];
    }
1046807
public function unserialize($serialized)
    {
        $unserialized = unserialize($serialized);
        $this->id = $unserialized['id'];
        $this->username = $unserialized['username'];
        $this->rolesStringAsArray = $unserialized['roles'];
        $this->groups = new ArrayCollection();
    }
486902
public function unserialize($serialized)
    {
        list($this->mask,
             $this->id,
             $this->securityIdentity,
             $this->strategy,
             $this->auditFailure,
             $this->auditSuccess,
             $this->granting
        ) = unserialize($serialized);
    }
273992
public function unserialize($serialized)
    {
        list($id, $secret) = explode('|', $serialized);

        $this->__construct($id, $secret);
    }