WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::__construct() public WP 1.0

Constructor.

{} It's a method of the class: PHPMailer{}

No Hooks.

Return

null. Nothing.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->__construct( $exceptions );
$exceptions(true|false)
Should we throw external exceptions?

Code of PHPMailer::__construct() WP 5.7.2

<?php
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');
}