ChangeNotices final class
Minn\Mail\ChangeNotices · public/minn/src/Minn/Mail/ChangeNotices.php · 30 lines
The notices the reference mails a user when their password or email address changes, as templates: plugins filter them (password_change_email, email_change_email) with the placeholders still in them and the site name still a %s in the subject, and fill() finishes them after.
Public
| static | password(): array# | The password notice: subject and message, placeholders unfilled. @return array{subject: string, message: string} @return array{subject: string, message: string} | |||
| static | email(): array# | The email-address notice, sent to the address being left: subject and message, placeholders unfilled. @return array{subject: string, message: string} @return array{subject: string, message: string} | |||
| static | fill(string $text, array $values): string# | A template's placeholders filled with their values. @param array<string, string> $values placeholder name (USERNAME, ...) => value
|
Nothing matches.