interface MailableInterface

Methods

array
getEmailViews()

<p>Get the names of the views to construct a notification email with.</p>

string
getEmailSubject(TranslatorInterface $translator)

<p>Get the subject line for a notification email.</p>

Details

array getEmailViews()

<p>Get the names of the views to construct a notification email with.</p>

<p>To provide the best experience for the user, Flarum expects both a <code>text</code> and <code>html</code> view.</p>

Return Value

array

string getEmailSubject(TranslatorInterface $translator)

<p>Get the subject line for a notification email.</p>

Parameters

TranslatorInterface $translator

Return Value

string