Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Core\BackgroundProcess; |
| 3 | |
| 4 | use Apie\Core\Attributes\Description; |
| 5 | |
| 6 | enum BackgroundProcessStatus: string |
| 7 | { |
| 8 | #[Description('The background process has started and is running')] |
| 9 | case Active = 'active'; |
| 10 | #[Description('The background process has finished successfully')] |
| 11 | case Finished = 'finished'; |
| 12 | #[Description('The background process has finished with errors even after retries')] |
| 13 | case TooManyErrors = 'tooManyErrors'; |
| 14 | #[Description('The background process has been canceled')] |
| 15 | case Canceled = 'canceled'; |
| 16 | } |