AI store generator for ecommerce, Malaysia first. Laravel 13 + React + TypeScript.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }