class DefaultHtmlToTextConverter implementsHtmlToTextConverterInterface

Methods

string
convert(string$html,string$charset)

Converts an HTML representation of a Message to a text representation.

Details

string convert(string$html,string$charset)

Converts an HTML representation of a Message to a text representation.

The output must use the same charset as the HTML one.

Parameters

string $html
string $charset

Return Value

string