original_string: public static function getCode($val)
      {
          switch($val) {
          case self::DKK:
              return 'dkk';
          case self::EUR:
              return 'eur';
          case self::NOK:
              return 'nok';
          case self::SEK:
              return 'sek';
          default:
              return null;
          }
      }
code: public static function getCode($val)
      {
          switch($val) {
          case self::DKK:
              return 'dkk';
          case self::EUR:
              return 'eur';
          case self::NOK:
              return 'nok';
          case self::SEK:
              return 'sek';
          default:
              return null;
          }
      }
code_tokens: public static function getCode ( $ val ) { switch ( $ val ) { case self :: DKK : return 'dkk' ; case self :: EUR : return 'eur' ; case self :: NOK : return 'nok' ; case self :: SEK : return 'sek' ; default : return null ; } }
docstring: Converts a KlarnaCurrency constant to the respective language code.
  
  @param int $val KlarnaCurrency constant
  
  @return string|null
docstring_tokens: Converts a KlarnaCurrency constant to the respective language code .