class
Illuminate
/
Mail
/
Transport
/
Transport
You are viewing an older version of the documentation. For the latest, please visit master documentation.
abstract
Transport
Implements
- Swift_Transport
Properties
public
$plugins
array
The plug-ins registered with the transport.
Default: []
Methods
public
isStarted
(
)
:
bool
{@inheritdoc}
public
start ( ) : void
{@inheritdoc}
public
stop ( ) : void
{@inheritdoc}
public
ping
(
)
:
bool
{@inheritdoc}
public
registerPlugin ( Swift_Events_EventListener $plugin ) : void
Register a plug-in with the transport.
Parameters
- $plugin Swift_Events_EventListener
protected
beforeSendPerformed ( Swift_Mime_SimpleMessage $message ) : void
Iterate through registered plugins and execute plugins' methods.
Parameters
- $message Swift_Mime_SimpleMessage
protected
sendPerformed ( Swift_Mime_SimpleMessage $message ) : void
Iterate through registered plugins and execute plugins' methods.
Parameters
- $message Swift_Mime_SimpleMessage
protected
numberOfRecipients ( Swift_Mime_SimpleMessage $message ) : int
Get the number of recipients.
Parameters
- $message Swift_Mime_SimpleMessage