Common.php 312 字节 原文件 审查 历史 永久链接 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 <?php namespace App\Enums\Common; use BenSampo\Enum\Enum; /** * 共用枚举类 * @method static static YES() * @method static static NO() */ final class Common extends Enum { //公用 : 是和否 1-是 2-否 const YES = 1; const NO = 2; //端 const A='a'; const B='b'; }