code: public function addAttachment(AttachmentInterface $attachment)
      {
          if (!$this->attachments->contains($attachment)) {
              $this->attachments->add($attachment);
          }
  
          return $this;
      }
docs: Adds the attachment.
  
  @param AttachmentInterface $attachment
  
  @return Notify