private static function decodeContent($content, $encoding) {
    switch (strtolower($encoding)) {
      case 'base64':
        return base64_decode($content);
      case 'quoted-printable':
        return quoted_printable_decode($content);
      default:
        return $content;
    }
  }
private static function decodeContent($content, $encoding) {
    switch (strtolower($encoding)) {
      case 'base64':
        return base64_decode($content);
      case 'quoted-printable':
        return quoted_printable_decode($content);
      default:
        return $content;
    }
  }
private static function decodeContent ( $ content , $ encoding ) { switch ( strtolower ( $ encoding ) ) { case 'base64' : return base64_decode ( $ content ) ; case 'quoted-printable' : return quoted_printable_decode ( $ content ) ; default : return $ content ; } }
Decoded content based on the encoding scheme.

@param string $content The content to be decoded.
@param string $scheme The encoding shceme used. Currently only supports
'base64' and 'quoted-printable'.
@return string The deocded content if the encoding scheme is supported,
otherwise returns the original content.
Decoded content based on the encoding scheme .