OfficialEnum.php 332 B

12345678910111213141516171819202122
  1. <?php
  2. namespace common\enums;
  3. /**
  4. * Class OfficialEnum
  5. * @package common\enums
  6. */
  7. class OfficialEnum extends BaseEnum
  8. {
  9. const AUTHORITY = 'Authority';
  10. /**
  11. * @return string[]
  12. */
  13. public static function getMap(): array
  14. {
  15. return [
  16. self::AUTHORITY => '官方插件',
  17. ];
  18. }
  19. }
粤ICP备19079148号