API / Minn\Mail / MailerStrings

MailerStrings final class

Minn\Mail\MailerStrings · public/minn/src/Minn/Mail/MailerStrings.php · 34 lines

The mailer's English messages, keyed as plugins look them up ("authenticate", "provide_address", ...): the base set, and the set WordPress's own mailer subclass loads, which words four of them differently. Captured from the reference into data/mailer-strings.json.

Uses 1

Constants and properties

privatestatic array $sets

Public

staticbase(): array#

The base mailer's messages.

@return array<string, string>
staticwordpress(): array#

The messages WordPress's mailer subclass loads.

@return array<string, string>

Internals 1

Private and protected methods: how the class does its work. Not a contract; they change whenever the code is tidied.

privateset(string $name): array#
@return array<string, string>