public clearAttachments ( ) : void | ||
return | void |
public function clearAttachments()
{
$this->attachment = [];
}
/** * Unset all file attachments from the email * * @return JMail Returns this object for chaining. * * @since 12.2 */ public function clearAttachments() { parent::clearAttachments(); return $this; }