EmailAttachmentInterface

Extends

Interface EmailAttachmentInterface

category

System

package

Email

subpackage

Interfaces

Methods

Returns the name of an email attachment.

getName() : \AttachmentNameInterface

Response

\AttachmentNameInterface

Attachment name.

Returns the path of an email attachment.

getPath(boolean $absolutePath = true) : \AttachmentPathInterface

Arguments

$absolutePath

boolean

(optional) Whether to return the absolute path or the relative one.

Response

\AttachmentPathInterface

Attachment path.

Sets the name of an email attachment.

setName(\AttachmentNameInterface $name) 

Arguments

$name

\AttachmentNameInterface

Attachment name.

Sets the path of an email attachment.

setPath(\AttachmentPathInterface $path) 

Arguments

$path

\AttachmentPathInterface

Attachment path.