original_string: public static function to($encodingLabel, $text)
      {
          $encodingLabel = static::normalizeEncoding($encodingLabel);
  
          if ($encodingLabel == 'ISO-8859-1') {
              return static::toLatin1($text);
          }
  
          return static::toUTF8($text);
      }
code: public static function to($encodingLabel, $text)
      {
          $encodingLabel = static::normalizeEncoding($encodingLabel);
  
          if ($encodingLabel == 'ISO-8859-1') {
              return static::toLatin1($text);
          }
  
          return static::toUTF8($text);
      }
code_tokens: public static function to ( $ encodingLabel , $ text ) { $ encodingLabel = static :: normalizeEncoding ( $ encodingLabel ) ; if ( $ encodingLabel == 'ISO-8859-1' ) { return static :: toLatin1 ( $ text ) ; } return static :: toUTF8 ( $ text ) ; }
docstring: Encode to supported encoding types aliases
  ISO88591
  ISO8859
  ISO
  LATIN1
  LATIN
  UTF8
  UTF
  WIN1252
  WINDOWS1252
  
  @param  string           $encodingLabel  Encoding name
  @param  string|array     $text
  @return string|array
docstring_tokens: Encode to supported encoding types aliases ISO88591 ISO8859 ISO LATIN1 LATIN UTF8 UTF WIN1252 WINDOWS1252