You are here

public function Html2Text::set_html in Swift Mailer 7

1 call to Html2Text::set_html()
Html2Text::legacyConstruct in includes/classes/Html2Text.inc

File

includes/classes/Html2Text.inc, line 262

Class

Html2Text

Code

public function set_html($html, $from_file = false) {
  if ($from_file) {
    throw new \InvalidArgumentException("Argument from_file no longer supported");
  }
  return $this
    ->setHtml($html);
}