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.

12345678910111213141516
  1. <?php
  2. namespace App\Enums;
  3. use Filament\Support\Contracts\HasLabel;
  4. enum TaxScope: string implements HasLabel
  5. {
  6. case Product = 'product';
  7. case Service = 'service';
  8. public function getLabel(): ?string
  9. {
  10. return $this->name;
  11. }
  12. }