EmailMessage
in package
implements
MessageInterface
FinalYes
Tags
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- envelope() : $this
- fromNotification() : self
- getEnvelope() : Envelope|null
- getMessage() : RawMessage
- getOptions() : MessageOptionsInterface|null
- getRecipientId() : string|null
- getSubject() : string
- getTransport() : string|null
- transport() : $this
Properties
$envelope
private
mixed
$envelope
$message
private
mixed
$message
Methods
__construct()
public
__construct(RawMessage $message[, Envelope $envelope = null ]) : mixed
Parameters
- $message : RawMessage
- $envelope : Envelope = null
envelope()
public
envelope(Envelope $envelope) : $this
Parameters
- $envelope : Envelope
Return values
$thisfromNotification()
public
static fromNotification(Notification $notification, EmailRecipientInterface $recipient) : self
Parameters
- $notification : Notification
- $recipient : EmailRecipientInterface
Return values
selfgetEnvelope()
public
getEnvelope() : Envelope|null
Return values
Envelope|nullgetMessage()
public
getMessage() : RawMessage
Return values
RawMessagegetOptions()
public
getOptions() : MessageOptionsInterface|null
Return values
MessageOptionsInterface|nullgetRecipientId()
public
getRecipientId() : string|null
Return values
string|nullgetSubject()
public
getSubject() : string
Return values
stringgetTransport()
public
getTransport() : string|null
Return values
string|nulltransport()
public
transport(string|null $transport) : $this
Parameters
- $transport : string|null