complete story 3.7 with qa test
This commit is contained in:
@@ -6,4 +6,12 @@ enum ConsultationType: string
|
||||
{
|
||||
case Free = 'free';
|
||||
case Paid = 'paid';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Free => __('enums.consultation_type.free'),
|
||||
self::Paid => __('enums.consultation_type.paid'),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user