WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::__destruct() public WP 1.0

Destructor.

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

No Hooks.

Return

null. Nothing.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->__destruct();

Code of PHPMailer::__destruct() WP 5.7.2

<?php
public function __destruct()
{
    //Close any open SMTP connection nicely
    $this->smtpClose();
}