class Email
Entity Email (linked to DB table emails
)
Properties
protected int | $id | Email unique id | |
protected DateTime | $dateSent | DateTime email has been sent | |
protected string | $subject | Subject of the email | |
protected string | $sentFrom | Email address sent from | |
protected string | $sentTo | Email address sent to | |
protected string | $sentCc | Email address sent cc | |
protected string | $sentBcc | Email address sent bcc (not mapped in DB) | |
protected string | $replyTo | Email address reply to (not mapped in DB) | |
protected string | $body | Body of email | |
protected string | $ip | IP address |
Methods
setDataFromArray(array $data)
Hydrates entity from associative array
int
getId()
Get id
DateTime|null
getDateSent()
Get dateSent
setSubject(string|null $subject)
Set subject
string|null
getSubject()
Get subject
setSentFrom(string|null $sentFrom)
Set sentFrom
string|null
getSentFrom()
Get sentFrom
string|null
getSentTo()
Get sentTo
string|null
getSentCc()
Get sentCc
setSentBcc(string|null $sentBcc)
Set sentBcc
string|null
getSentBcc()
Get sentBcc
setReplyTo(string|null $replyTo)
Set replyTo
string|null
getReplyTo()
Get replyTo
string|null
getBody()
Get body
string|null
getIp()
Get ip
Details
at line 106
setDataFromArray(array $data)
Hydrates entity from associative array
at line 120
int
getId()
Get id
at line 141
DateTime|null
getDateSent()
Get dateSent
at line 151
Email
setSubject(string|null $subject)
Set subject
at line 162
string|null
getSubject()
Get subject
at line 172
Email
setSentFrom(string|null $sentFrom)
Set sentFrom
at line 183
string|null
getSentFrom()
Get sentFrom
at line 193
Email
setSentTo(string|null $sentTo)
Set sentTo
at line 204
string|null
getSentTo()
Get sentTo
at line 214
Email
setSentCc(string|null $sentCc)
Set sentCc
at line 225
string|null
getSentCc()
Get sentCc
at line 235
Email
setSentBcc(string|null $sentBcc)
Set sentBcc
at line 246
string|null
getSentBcc()
Get sentBcc
at line 256
Email
setReplyTo(string|null $replyTo)
Set replyTo
at line 267
string|null
getReplyTo()
Get replyTo
at line 277
Email
setBody(string|null $body)
Set body
at line 288
string|null
getBody()
Get body
at line 298
Email
setIp(string|null $ip)
Set ip
at line 309
string|null
getIp()
Get ip