refactor(enums): reorganize namespaces and update flight/tour/user imports
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums\Tour;
|
||||
|
||||
enum TourMode:int
|
||||
{
|
||||
case AIR = 0;
|
||||
case LAND = 1;
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::AIR => 'زمینی',
|
||||
self::LAND => 'هوایی',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user