Interface Swift_Plugins_Decorator_Replacements

Implemented bySwift_Plugins_DecoratorPlugin

Allows customization of Messages on-the-fly.

Public Methods

Hide inherited methods

MethodDescriptionDefined By
getReplacementsFor() Return the array of replacements for $address. Swift_Plugins_Decorator_Replacements

Method Details

getReplacementsFor() public abstract method

Return the array of replacements for $address.

This method is invoked once for every single recipient of a message.

If no replacements can be found, an empty value (NULL) should be returned and no replacements will then be made on the message.

public abstract array getReplacementsFor ( $address )
$address string