19 lines
445 B
PHP
19 lines
445 B
PHP
<?php
|
|
|
|
namespace App\Enum;
|
|
|
|
enum WorkHoursSyncOutcome: string
|
|
{
|
|
/** Hours were fetched and written. */
|
|
case IMPORTED = 'imported';
|
|
|
|
/** The month is signed, so the hours were compared but left alone. */
|
|
case LOCKED = 'locked';
|
|
|
|
/** Nothing to do: no address on file, or nothing to import. */
|
|
case SKIPPED = 'skipped';
|
|
|
|
/** The request or the payload failed. Worth waking someone for. */
|
|
case FAILED = 'failed';
|
|
}
|