data['name'] = $value; return $this; } /** * Get attachment name * @return string */ public function getName(): string { return $this->data['name'] ?? ''; } /** * Set attachment extension * @param string $value * @return MailMergeAttachment */ public function setExtension(string $value): self { $this->data['extension'] = $value; return $this; } /** * Get attachment extension * @return string */ public function getExtension(): string { return $this->data['extension'] ?? ''; } /** * Set attachment content * @param string $value * @return MailMergeAttachment */ public function setContent(string $value): self { $this->data['content'] = $value; return $this; } /** * Get attachment content * @return string */ public function getContent(): string { return $this->data['content'] ?? ''; } }