Class Swift_Plugins_DecoratorPlugin
Allows customization of Messages on-the-fly.
- Swift_Plugins_DecoratorPlugin implements Swift_Events_SendListener, Swift_Plugins_Decorator_Replacements
Package: Swift\Plugins
Author: Chris Corbyn
Author: Fabien Potencier
Located at wa-system/vendors/swift/classes/Swift/Plugins/DecoratorPlugin.php
Author: Chris Corbyn
Author: Fabien Potencier
Located at wa-system/vendors/swift/classes/Swift/Plugins/DecoratorPlugin.php
public
|
|
public
|
|
public
|
#
beforeSendPerformed(
Invoked immediately before the Message is sent. |
public
array
|
|
public
|
|
private
|
#
_restoreMessage(
Restore a changed message back to its original state |
private
mixed
|
$_replacements |
|
#
The replacement map |
private
mixed
|
$_originalBody |
|
#
The body as it was before replacements |
private
array
|
$_originalHeaders | array() |
#
The original headers of the message, before replacements |
private
array
|
$_originalChildBodies | array() |
#
Bodies of children before they are replaced |
private
mixed
|
$_lastMessage |
|
#
The Message that was last replaced |