Files

35 lines
622 B
PHP
Raw Permalink Normal View History

2026-08-31 11:33:59 +08:00
<?php
declare(strict_types=1);
/**
*+------------------
* madong
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: http://www.madong.tech
*/
namespace app\enum\system;
use core\interface\IEnum;
/**
* 消息事件-枚举
*
* @author Mr.April
* @since 1.0
*/
enum MessageEvent: string implements IEnum
{
case DEFAULT = 'message';
public function label(): string
{
return match ($this) {
self::DEFAULT => '默认',
};
}
}