AttachmentCollectionInterface
in
Interface AttachmentCollectionInterface
Tags
Table of Contents
- add() : mixed
- Adds a new attachment to the collection.
- clear() : mixed
- Removes all attachments of collection.
- remove() : mixed
- Removes an attachment from collection.
Methods
add()
Adds a new attachment to the collection.
public
add(EmailAttachmentInterface $attachment) : mixed
Parameters
- $attachment : EmailAttachmentInterface
-
E-Mail attachment.
Return values
mixed —clear()
Removes all attachments of collection.
public
clear() : mixed
Return values
mixed —remove()
Removes an attachment from collection.
public
remove(EmailAttachmentInterface $attachment) : mixed
Parameters
- $attachment : EmailAttachmentInterface
-
E-Mail attachment.