ExtendConfigTypeEnum.php 441 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace common\enums;
  3. /**
  4. * 扩展配置类型
  5. *
  6. * Class ExtendConfigTypeEnum
  7. * @package common\enums
  8. * @author jianyan74 <751393839@qq.com>
  9. */
  10. class ExtendConfigTypeEnum extends BaseEnum
  11. {
  12. const RECEIPT_PRINTER = 'receipt-printer';
  13. /**
  14. * @return array|string[]
  15. */
  16. public static function getMap(): array
  17. {
  18. return [
  19. self::RECEIPT_PRINTER => '小票打印机',
  20. ];
  21. }
  22. }
粤ICP备19079148号