lib/classes/Swift/Plugins/DecoratorPlugin.php
public function setReplacements($replacements)
    {
        if (!($replacements instanceof Swift_Plugins_Decorator_Replacements)) {
            $this->replacements = (array) $replacements;
        } else {
            $this->replacements = $replacements;
        }
    }
public function setReplacements($replacements)
    {
        if (!($replacements instanceof Swift_Plugins_Decorator_Replacements)) {
            $this->replacements = (array) $replacements;
        } else {
            $this->replacements = $replacements;
        }
    }
public function setReplacements ( $ replacements ) { if ( ! ( $ replacements instanceof Swift_Plugins_Decorator_Replacements ) ) { $ this -> replacements = ( array ) $ replacements ; } else { $ this -> replacements = $ replacements ; } }
Sets replacements.

@param mixed $replacements Array or Swift_Plugins_Decorator_Replacements

@see __construct()
Sets replacements .