private function unserialize($value)
    {
        switch ($this->serializer) {
            case self::SERIALIZER_PHP:
                return unserialize($value);
            case self::SERIALIZER_IGBINARY:
                return igbinary_unserialize($value);
            default:
                throw new RuntimeException('Unable to handle unserialization of the metadata object');
        }
    }
private function unserialize($value)
    {
        switch ($this->serializer) {
            case self::SERIALIZER_PHP:
                return unserialize($value);
            case self::SERIALIZER_IGBINARY:
                return igbinary_unserialize($value);
            default:
                throw new RuntimeException('Unable to handle unserialization of the metadata object');
        }
    }
private function unserialize ( $ value ) { switch ( $ this -> serializer ) { case self :: SERIALIZER_PHP : return unserialize ( $ value ) ; case self :: SERIALIZER_IGBINARY : return igbinary_unserialize ( $ value ) ; default : throw new RuntimeException ( 'Unable to handle unserialization of the metadata object' ) ; } }
Unserializes the metadata object based on the selected serializer.

@param   string  $value
@return  string
@throws  RuntimeException
Unserializes the metadata object based on the selected serializer .