mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 14:50:39 -04:00
16 lines
318 B
PHP
16 lines
318 B
PHP
<?
|
|
namespace Enums;
|
|
|
|
enum ProjectStatusType: string{
|
|
case InProgress = 'in_progress';
|
|
case Stalled = 'stalled';
|
|
case Completed = 'completed';
|
|
case Abandoned = 'abandoned';
|
|
|
|
public function GetDisplayName(): string{
|
|
return match($this){
|
|
self::InProgress => 'in progress',
|
|
default => $this->value
|
|
};
|
|
}
|
|
}
|