WordPress at a glance
function is not described

PHPMailer\PHPMailer

PHPMailer::getBoundary() protected WP 1.0

Return the start of a message boundary.

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

No Hooks.

Return

String. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->getBoundary( $boundary, $charSet, $contentType, $encoding );
$boundary(string) (required)
-
$charSet(string) (required)
-
$contentType(string) (required)
-
$encoding(string) (required)
-

Code of PHPMailer::getBoundary() WP 5.7.2

<?php
protected function getBoundary($boundary, $charSet, $contentType, $encoding)
{
    $result = '';
    if ('' === $charSet) {
        $charSet = $this->CharSet;
    }
    if ('' === $contentType) {
        $contentType = $this->ContentType;
    }
    if ('' === $encoding) {
        $encoding = $this->Encoding;
    }
    $result .= $this->textLine('--' . $boundary);
    $result .= sprintf('Content-Type: %s; charset=%s', $contentType, $charSet);
    $result .= static::$LE;
    //RFC1341 part 5 says 7bit is assumed if not specified
    if (static::ENCODING_7BIT !== $encoding) {
        $result .= $this->headerLine('Content-Transfer-Encoding', $encoding);
    }
    $result .= static::$LE;

    return $result;
}