TemplateTrait
Tags
Table of Contents
Properties
- $isTest : bool
- $template : array<string|int, mixed>|null
- The content of the message-template.
- $templateId : int|null
Methods
- getLocale() : string|null
- resolveContent() : array<string|int, mixed>
- setLocale() : mixed
Properties
$isTest
protected
bool
$isTest
Tags
$template
The content of the message-template.
protected
array<string|int, mixed>|null
$template
Ex: [ 'msg_subject' => 'Hello {contact.first_name}', 'msg_html' => '
Greetings and salutations, {contact.display_name}!
' ]Tags
$templateId
protected
int|null
$templateId
Tags
Methods
getLocale()
public
abstract getLocale() : string|null
Return values
string|nullresolveContent()
public
resolveContent() : array<string|int, mixed>
Return values
array<string|int, mixed>setLocale()
public
abstract setLocale(string|null $locale) : mixed
Parameters
- $locale : string|null