Swift_Plugins_DecoratorPlugin::__construct
Create a new DecoratorPlugin with $replacements.
The $replacements can either be an associative array, or an implementation of . When using an array, it should be of the form: <code> $replacements = array( "address1@domain.tld" => array("{a}" => "b", "{c}" => "d"), "address2@domain.tld" => array("{a}" => "x", "{c}" => "y") ) </code> When using an instance of , the object should return just the array of replacements for the address given to .
Signature
public function __construct(mixed
$replacements )
Parameters
$replacements
— mixed- Array or Swift_Plugins_Decorator_Replacements