public function appendSerialized($data)
    {
        try {
            $data = Serializer::unserialize($data);
        } catch (ExceptionInterface $exception) {
            $this->_addException($exception);
        }

        if (is_object($data)) {
            $name = $this->_convertKeyNames(get_class($data));
            $this->appendData($name, $data);
        } elseif (is_array($data)) {
            $this->appendArray($data);
        } else {
            $this->appendData($this->_defaultDataName, $data);
        }

        if ($this->_objectCreation) {
            return $this->_afterAppendDataToNewObject();
        }
        return $this;
    }
public function appendSerialized($data)
    {
        try {
            $data = Serializer::unserialize($data);
        } catch (ExceptionInterface $exception) {
            $this->_addException($exception);
        }

        if (is_object($data)) {
            $name = $this->_convertKeyNames(get_class($data));
            $this->appendData($name, $data);
        } elseif (is_array($data)) {
            $this->appendArray($data);
        } else {
            $this->appendData($this->_defaultDataName, $data);
        }

        if ($this->_objectCreation) {
            return $this->_afterAppendDataToNewObject();
        }
        return $this;
    }
public function appendSerialized ( $ data ) { try { $ data = Serializer :: unserialize ( $ data ) ; } catch ( ExceptionInterface $ exception ) { $ this -> _addException ( $ exception ) ; } if ( is_object ( $ data ) ) { $ name = $ this -> _convertKeyNames ( get_class ( $ data ) ) ; $ this -> appendData ( $ name , $ data ) ; } elseif ( is_array ( $ data ) ) { $ this -> appendArray ( $ data ) ; } else { $ this -> appendData ( $ this -> _defaultDataName , $ data ) ; } if ( $ this -> _objectCreation ) { return $ this -> _afterAppendDataToNewObject ( ) ; } return $ this ; }
set data from serialized string as object data
if data is an object set one variable where key is an object class name

@param mixed $data
@return $this
set data from serialized string as object data if data is an object set one variable where key is an object class name