AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

StoreStatus.php 289B

1234567891011121314151617
  1. <?php
  2. namespace App\Enums;
  3. enum StoreStatus: string
  4. {
  5. case Draft = 'draft';
  6. case Published = 'published';
  7. public function label(): string
  8. {
  9. return match ($this) {
  10. self::Draft => 'Draft',
  11. self::Published => 'Published',
  12. };
  13. }
  14. }