debug
This commit is contained in:
17
app/Enums/MissionViolationStatus.php
Normal file
17
app/Enums/MissionViolationStatus.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum MissionViolationStatus: int
|
||||
{
|
||||
case BEDON_EGHDAM = 0;
|
||||
case EGHDAM_SHODE = 2;
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::BEDON_EGHDAM => "بدون اقدام",
|
||||
self::EGHDAM_SHODE => "اقدام شده",
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user