public function Html2Text::__construct in Swift Mailer 7
Parameters
string $html Source HTML:
array $options Set configuration options:
File
- includes/
classes/ Html2Text.inc, line 237
Class
Code
public function __construct($html = '', $options = array()) {
// for backwards compatibility
if (!is_array($options)) {
return call_user_func_array(array(
$this,
'legacyConstruct',
), func_get_args());
}
$this->html = $html;
$this->options = array_merge($this->options, $options);
}