protected function decode($data)
    {
        if ($this->getEncoding() === self::ENCODING_BASE64) {
            return unserialize(base64_decode($data));

        } else {
            return unserialize($data);

        }
    }
protected function decode($data)
    {
        if ($this->getEncoding() === self::ENCODING_BASE64) {
            return unserialize(base64_decode($data));

        } else {
            return unserialize($data);

        }
    }
protected function decode ( $ data ) { if ( $ this -> getEncoding ( ) === self :: ENCODING_BASE64 ) { return unserialize ( base64_decode ( $ data ) ) ; } else { return unserialize ( $ data ) ; } }
This method is intend to decode the data for the storage container.

@param string $data The dataset to encode

@author Benjamin Carl <opensource@clickalicious.de>
@return string Encoded data input
@access protected
This method is intend to decode the data for the storage container .