提交的内容
This commit is contained in:
22
vendor/topthink/think-validate/src/contract/Enumable.php
vendored
Normal file
22
vendor/topthink/think-validate/src/contract/Enumable.php
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2025 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace think\contract;
|
||||
|
||||
/**
|
||||
* 枚举类接口
|
||||
*/
|
||||
interface Enumable
|
||||
{
|
||||
// 返回枚举类的清单
|
||||
public static function values(): array;
|
||||
}
|
||||
Reference in New Issue
Block a user