Swift_Plugins_MessageLogger
in package
implements
Swift_Events_SendListener
Stores all sent emails for further usage.
Tags
Interfaces, Classes and Traits
- Swift_Events_SendListener
- Listens for Messages being sent from within the Transport system.
Table of Contents
- $messages : array<string|int, Swift_Mime_SimpleMessage>
- __construct() : mixed
- beforeSendPerformed() : mixed
- Invoked immediately before the Message is sent.
- clear() : mixed
- Empty the message list.
- countMessages() : int
- Get the message count.
- getMessages() : array<string|int, Swift_Mime_SimpleMessage>
- Get the message list.
- sendPerformed() : mixed
- Invoked immediately after the Message is sent.
Properties
$messages
private
array<string|int, Swift_Mime_SimpleMessage>
$messages
Methods
__construct()
public
__construct() : mixed
Return values
mixed —beforeSendPerformed()
Invoked immediately before the Message is sent.
public
beforeSendPerformed(Swift_Events_SendEvent $evt) : mixed
Parameters
- $evt : Swift_Events_SendEvent
Return values
mixed —clear()
Empty the message list.
public
clear() : mixed
Return values
mixed —countMessages()
Get the message count.
public
countMessages() : int
Return values
int —count
getMessages()
Get the message list.
public
getMessages() : array<string|int, Swift_Mime_SimpleMessage>
Return values
array<string|int, Swift_Mime_SimpleMessage> —sendPerformed()
Invoked immediately after the Message is sent.
public
sendPerformed(Swift_Events_SendEvent $evt) : mixed
Parameters
- $evt : Swift_Events_SendEvent