TemplateRegistry
Corex\Email\Template\TemplateRegistry · class · Add-ons layer
Holds the registered templates by name. An unknown name resolves to null so the send path degrades non-fatally (spec FR-002, FR-011).
Public API
Section titled “Public API”register(EmailTemplate $template): void
Section titled “register(EmailTemplate $template): void”find(string $name): ?EmailTemplate
Section titled “find(string $name): ?EmailTemplate”names(): array
Section titled “names(): array”The names of every registered template, in registration order. Lets the admin surface a truthful inventory of the real templates without instantiating a send context (spec 063).