Constructs the AnimatedGif.

@param string $serialized The string representation of the object.

@return void
492650
public function unserialize($serialized)
    {
        list(
            $this->outFilePath,
            $this->width,
            $this->height,
            $this->frameRate,
            $this->loopCount,
            $this->gifData,
            $this->frames,
            $this->counter
        ) = unserialize($serialized);
    }
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'];
    }
940944
public function unserialize( $serial )
	{
		list( $this->message, $this->code, $this->file, $this->line, $this->resource ) = unserialize( $serial );
	}
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);
    }
82589
public function unserialize($serialized)
    {
        list (
            $this->id,
            $this->nameId,
            $this->institution,
            $this->email,
            $this->commonName,
            $this->preferredLocale
        ) = unserialize($serialized);
    }
109127
public function unserialize($serialized)
    {
        list(
            $this->name,
            $this->params,
            $this->stopPropagation
            ) = \unserialize($serialized, ['allowed_classes' => false]);
    }
181883
public function unserialize($serialized)
    {
        $unserialized = unserialize($serialized);
        $this->__construct($unserialized['tokens']);
        $this->seek($unserialized['index']);
    }
676119
private static function decideEncode($object, &$serialized)
    {
        switch ($type = gettype($object)) {
            case 'integer':
                $serialized .= "i{$object}e";
                break;

            case 'string':
                self::encodeString($object, $serialized);
                break;

            case 'array':
                $function = self::getArraySerializer($object);
                self::$function($object, $serialized);
                break;

            case 'boolean':
                $serialized .= $object === true ? 'i1e' : 'i0e';
                break;

            default:
                throw new EncodingException("Invalid type for encoding: $type", $object);
        }
    }
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'];
    }
493640
public function unserialize($serialized = null)
    {
        if ($this->response) {
            return Strings::unserialize((string) $this->response->getBody());
        }

        return null;
    }
1068419
public function unserialize($serialized)
    {
        $args = [$serialized];
        $methodName = __FUNCTION__;

        return $this->findAndCall($methodName, $args);
    }
1210072
public function unserialize($serialized)
    {
        $string     = unserialize($serialized, []);
        $this->data = RamseyUUID::fromString($string);
    }
568146
public function unserialize($serialized)
    {
        list(
            $this->id,
            $this->email,
            $this->firstName,
            $this->lastName,
            $this->locale,
            $this->timezone,
            $this->gender,
            $this->country,
            $this->phone,
            $this->pictureUrl,
        ) = unserialize($serialized);
    }
584580
public function unserialize($serialized)
    {
        $data = unserialize($serialized);
        
        $this->autoNumber              =  $data['autoNumber'];            
        $this->byteLength              =  $data['byteLength'];            
        $this->calculated              =  $data['calculated'];            
        $this->calculatedFormula       =  $data['calculatedFormula'];     
        $this->caseSensitive           =  $data['caseSensitive'];         
        $this->controllerName          =  $data['controllerName'];        
        $this->createable              =  $data['createable'];            
        $this->custom                  =  $data['custom'];                
        $this->defaultValueFormula     =  $data['defaultValueFormula'];   
        $this->defaultedOnCreate       =  $data['defaultedOnCreate'];     
        $this->dependentPicklist       =  $data['dependentPicklist'];     
        $this->deprecatedAndHidden     =  $data['deprecatedAndHidden'];   
        $this->digits                  =  $data['digits'];                
        $this->externalId              =  $data['externalId'];            
        $this->filterable              =  $data['filterable'];            
        $this->groupable               =  $data['groupable'];             
        $this->htmlFormatted           =  $data['htmlFormatted'];         
        $this->idLookup                =  $data['idLookup'];              
        $this->inlineHelpText          =  $data['inlineHelpText'];        
        $this->label                   =  $data['label'];                 
        $this->length                  =  $data['length'];                
        $this->name                    =  $data['name'];                  
        $this->nameField               =  $data['nameField'];             
        $this->namePointing            =  $data['namePointing'];          
        $this->nillable                =  $data['nillable'];              
        $this->permissionable          =  $data['permissionable'];        
        $this->picklistValues          =  $data['picklistValues'];        
        $this->precision               =  $data['precision'];             
        $this->referenceTo             =  $data['referenceTo'];           
        $this->relationshipName        =  $data['relationshipName'];      
        $this->relationshipOrder       =  $data['relationshipOrder'];     
        $this->restrictedPicklist      =  $data['restrictedPicklist'];    
        $this->scale                   =  $data['scale'];                 
        $this->soapType                =  $data['soapType'];              
        $this->sortable                =  $data['sortable'];              
        $this->type                    =  $data['type'];                  
        $this->unique                  =  $data['unique'];                
        $this->updateable              =  $data['updateable'];            
        $this->writeRequiresMasterRead =  $data['writeRequiresMasterRead'];
    }
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();
    }
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;
        }
    }