lib/classes/Swift/Plugins/DecoratorPlugin.php
public function getReplacementsFor($address)
    {
        if ($this->replacements instanceof Swift_Plugins_Decorator_Replacements) {
            return $this->replacements->getReplacementsFor($address);
        }

        return $this->replacements[$address] ?? null;
    }
public function getReplacementsFor($address)
    {
        if ($this->replacements instanceof Swift_Plugins_Decorator_Replacements) {
            return $this->replacements->getReplacementsFor($address);
        }

        return $this->replacements[$address] ?? null;
    }
public function getReplacementsFor ( $ address ) { if ( $ this -> replacements instanceof Swift_Plugins_Decorator_Replacements ) { return $ this -> replacements -> getReplacementsFor ( $ address ) ; } return $ this -> replacements [ $ address ] ?? null ; }
Find a map of replacements for the address.

If this plugin was provided with a delegate instance of
{@link Swift_Plugins_Decorator_Replacements} then the call will be
delegated to it.  Otherwise, it will attempt to find the replacements
from the array provided in the constructor.

If no replacements can be found, an empty value (NULL) is returned.

@param string $address

@return array
Find a map of replacements for the address .