2 namespace Civi\Token\Event
;
5 * Class TokenRenderEvent
6 * @package Civi\Token\Event
8 * A TokenRenderEvent is fired after the TokenProcessor has rendered
11 * The render event may be used for post-processing the text, but
12 * it's very difficult to do substantive work in a secure, robust
13 * way within this event. The event primarily exists to facilitate
14 * a transition of some legacy code.
16 class TokenRenderEvent
extends TokenEvent
{
19 * @var array|\ArrayAccess
24 * @var array|\ArrayAccess
26 * The original message template.
31 * @var \Civi\Token\TokenRow
33 * The record for which we're generating date
40 * The rendered string, with tokens replaced.