class MailTemplateEvent extends Event

Class MailTemplateEvent

Methods

__construct(mixed $entity)

MailTemplateEvent constructor.

string
getTemplate()

No description

setTemplate(string $template)

No description

string
getAttachmentTemplate()

No description

setAttachmentTemplate(string $attachmentTemplate)

No description

string
getEntityName()

No description

string
getEntityNamespaceWithClass()

Remove proxy prefix(if it exists) from entity class

Details

at line 33
__construct(mixed $entity)

MailTemplateEvent constructor.

Parameters

mixed $entity

at line 41
string getTemplate()

Return Value

string

at line 51
MailTemplateEvent setTemplate(string $template)

Parameters

string $template

Return Value

MailTemplateEvent

at line 61
string getAttachmentTemplate()

Return Value

string

at line 71
MailTemplateEvent setAttachmentTemplate(string $attachmentTemplate)

Parameters

string $attachmentTemplate

Return Value

MailTemplateEvent

at line 83
string getEntityName()

Return Value

string

Exceptions

ReflectionException

at line 92
string getEntityNamespaceWithClass()

Remove proxy prefix(if it exists) from entity class

Return Value

string