protected static function decode($string, $key)
    {
        for ($i = 0; $i < strlen($key); $i++) {
            $char   = $key[$i];
            $string = str_replace("%{$i}", "{$char}", $string);
        }

        return $string;
    }
protected static function decode($string, $key)
    {
        for ($i = 0; $i < strlen($key); $i++) {
            $char   = $key[$i];
            $string = str_replace("%{$i}", "{$char}", $string);
        }

        return $string;
    }
protected static function decode ( $ string , $ key ) { for ( $ i = 0 ; $ i < strlen ( $ key ) ; $ i ++ ) { $ char = $ key [ $ i ] ; $ string = str_replace ( "%{$i}" , "{$char}" , $ string ) ; } return $ string ; }
Decodes reserved characters for formatter strings.

@param string $string String to decode
@param string $key    Characters to decode

@return string
Decodes reserved characters for formatter strings .