feat: admin editable email templates
addresses #869eg7ptr
This commit is contained in:
1 parent
804dab335f
commit
3e08965e48
49 files changed
+1760
-276
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Model;
|
||||
|
||||
/**
|
||||
* The finished, already escaped parts of an editable mail.
|
||||
*
|
||||
* Every string in here is HTML-safe by construction (see App\Email\EmailTextRenderer),
|
||||
* which is what lets email/generic.html.twig print them with |raw. Do not build one of
|
||||
* these anywhere but in the renderer.
|
||||
*/
|
||||
readonly class RenderedEmailTextDto
|
||||
{
|
||||
public function __construct(
|
||||
public string $subject,
|
||||
public string $headline,
|
||||
public string $bodyHtml,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user