add message template

This commit is contained in:
xiaomlove
2025-06-19 13:13:26 +07:00
parent 75c1eb0664
commit a0ff441f03
85 changed files with 479 additions and 7 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Enums;
use function PHPUnit\Framework\matches;
enum MessageTemplateNameEnum: string
{
case REGISTER_WELCOME = "register_welcome";
public function label(): string
{
return match ($this) {
self::REGISTER_WELCOME => nexus_trans("message-template.register_welcome"),
default => '',
};
}
}