class LogTransport extends Transport (View source)
array | $plugins | The plug-ins registered with the transport. | from Transport |
protected LoggerInterface | $logger | The Logger instance. |
isStarted() {@inheritdoc} | from Transport | |
start() {@inheritdoc} | from Transport | |
stop() {@inheritdoc} | from Transport | |
ping() {@inheritdoc} | from Transport | |
void | registerPlugin(Swift_Events_EventListener $plugin) Register a plug-in with the transport. | from Transport |
void | beforeSendPerformed(Swift_Mime_SimpleMessage $message) Iterate through registered plugins and execute plugins' methods. | from Transport |
void | sendPerformed(Swift_Mime_SimpleMessage $message) Iterate through registered plugins and execute plugins' methods. | from Transport |
int | numberOfRecipients(Swift_Mime_SimpleMessage $message) Get the number of recipients. | from Transport |
void | __construct(LoggerInterface $logger) Create a new log transport instance. | |
send(Swift_Mime_SimpleMessage $message, $failedRecipients = null) {@inheritdoc} | ||
string | getMimeEntityString(Swift_Mime_SimpleMimeEntity $entity) Get a loggable string out of a Swiftmailer entity. | |
LoggerInterface | logger() Get the logger for the LogTransport instance. |
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
Register a plug-in with the transport.
Iterate through registered plugins and execute plugins' methods.
Iterate through registered plugins and execute plugins' methods.
Get the number of recipients.
Create a new log transport instance.
{@inheritdoc}
Get a loggable string out of a Swiftmailer entity.
Get the logger for the LogTransport instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Mail/Transport/LogTransport.html