Refactoring: extract process handling from async job.
This commit is contained in:
11
app/Enums/ProcessStatus.php
Normal file
11
app/Enums/ProcessStatus.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum ProcessStatus: string
|
||||
{
|
||||
case HOLDING = 'holding';
|
||||
case IN_PROGRESS = 'in_progress';
|
||||
case FINISHED = 'finished';
|
||||
case ERROR = 'error';
|
||||
}
|
||||
Reference in New Issue
Block a user