Documentation

Swift_Plugins_Decorator_Replacements

Allows customization of Messages on-the-fly.

Tags
author

Chris Corbyn

Table of Contents

getReplacementsFor()  : array<string|int, mixed>
Return the array of replacements for $address.

Methods

getReplacementsFor()

Return the array of replacements for $address.

public getReplacementsFor(string $address) : array<string|int, mixed>

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.

Parameters
$address : string
Return values
array<string|int, mixed>

Search results