value); } public function badge(): string { return match ($this) { self::ACTIVE => 'success', self::INACTIVE => 'danger', }; } }