create new thing
This commit is contained in:
@@ -6,12 +6,14 @@ enum MissionTypes: int
|
||||
{
|
||||
case SAATY= 1;
|
||||
case ROZANE = 2;
|
||||
case NO_PROCESS = 3;
|
||||
|
||||
public static function name(int $state): string
|
||||
{
|
||||
$mapArray = [
|
||||
1 => 'ساعتی',
|
||||
2 => 'روزانه',
|
||||
3 => 'بدون فرآیند',
|
||||
];
|
||||
|
||||
return $mapArray[$state];
|
||||
|
||||
Reference in New Issue
Block a user