PHPMailer\PHPMailer
PHPMailer::__construct()
Constructor.
Метод класса: PHPMailer{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$PHPMailer = new PHPMailer(); $PHPMailer->__construct( $exceptions );
- $exceptions(true|false)
- Should we throw external exceptions?
По умолчанию: null
Код PHPMailer::__construct() PHPMailer:: construct WP 6.3.1
public function __construct($exceptions = null) { if (null !== $exceptions) { $this->exceptions = (bool) $exceptions; } //Pick an appropriate debug output format automatically $this->Debugoutput = (strpos(PHP_SAPI, 'cli') !== false ? 'echo' : 'html'); }