public function PHPMailer::getAttachments

5.x PHPMailer.php public PHPMailer::getAttachments()

Return the array of attachments.

Return value

array

File

inc/PHPMailer/src/PHPMailer.php, line 2887

Class

PHPMailer
PHPMailer - PHP email creation and transport class.

Namespace

PHPMailer\PHPMailer

Code

public function getAttachments() 
 {
  return $this->attachment;
}