original_string: public static function toText($html, bool $ignoreErrors = false): string
      {
          return (string) (new \Html2Text\Html2Text())->convert((string) $html, $ignoreErrors);
      }
code: public static function toText($html, bool $ignoreErrors = false): string
      {
          return (string) (new \Html2Text\Html2Text())->convert((string) $html, $ignoreErrors);
      }
code_tokens: public static function toText ( $ html , bool $ ignoreErrors = false ) : string { return ( string ) ( new \ Html2Text \ Html2Text ( ) ) -> convert ( ( string ) $ html , $ ignoreErrors ) ; }
docstring: Convert html to text using html2text
  @see https://github.com/soundasleep/html2text
  @param string $html
  @return string
docstring_tokens: Convert html to text using html2text