WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::headerLine() public WP 1.0

Format a header line.

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

No Hooks.

Return

String.

Usage

$PHPMailer = new PHPMailer();
$PHPMailer->headerLine( $name, $value );
$name(string) (required)
-
$value *(string int) (required)*

Code of PHPMailer::headerLine() WP 5.7.2

<?php
public function headerLine($name, $value)
{
    return $name . ': ' . $value . static::$LE;
}