EmailTemplateRendererInterface
interface EmailTemplateRendererInterface (View source)
Renders the account emails a preview tool can show; the Application layer owns the templates and their custom overrides.
Methods
array
renderNewAccountEmail(string $username, string $password, string $fullname = '')
No description
array
renderPasswordResetEmail(string $name, string $resetUrl, int $expireMinutes)
No description
array
renderMfaVerificationEmail(string $verificationCode, int $expiresAt, string|null $timezone = null)
No description
bool
hasCustomTemplate(string $template)
Whether an operator-supplied template file overrides the shipped one.
Details
array
renderNewAccountEmail(string $username, string $password, string $fullname = '')
No description
array
renderPasswordResetEmail(string $name, string $resetUrl, int $expireMinutes)
No description
array
renderMfaVerificationEmail(string $verificationCode, int $expiresAt, string|null $timezone = null)
No description
bool
hasCustomTemplate(string $template)
Whether an operator-supplied template file overrides the shipped one.