/** * Get/set the REST character set encoding we're using * * @param String $charset the character set encoding to use (optional) * @return String the character set encoding being used (e.g. "UTF-8") */ public static function charset($charset = NULL) { return is_null($charset) ? self::$charset : (self::$charset = $charset); }