| 12345678910111213141516171819202122232425262728 |
- <?php
- declare(strict_types=1);
- namespace App\Enum\Shop;
- use App\Enum\EnumMethodsTrait;
- /**
- * Statuts d'une ShopRequest.
- *
- * This enum defines the possible statuses for a shop request:
- * - PENDING: Initial status when the request is created
- * - ACTIVATION_LINK_SENT: Status when the activation link has been sent to the user
- * - VALIDATED: Status when the user has validated the request by clicking the activation link
- * - COMPLETED: Status when the request has been fully processed
- * - ERROR: Status when an error occurred during processing
- */
- enum ShopRequestStatus: string
- {
- use EnumMethodsTrait;
- case PENDING = 'PENDING';
- case ACTIVATION_LINK_SENT = 'ACTIVATION_LINK_SENT';
- case VALIDATED = 'VALIDATED';
- case COMPLETED = 'COMPLETED';
- case ERROR = 'ERROR';
- }
|