chore: further cleanup and refactor
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Model;
|
||||
|
||||
final readonly class BookingEditSubmissionResult
|
||||
{
|
||||
public const string STATUS_BOOKING_DATA_RELOAD_FAILED = 'booking_data_reload_failed';
|
||||
public const string STATUS_NOTIFICATION_ERROR = 'notification_error';
|
||||
public const string STATUS_NOTIFICATION_INFO = 'notification_info';
|
||||
public const string STATUS_SUCCESS = 'success';
|
||||
public const string STATUS_UNSUCCESSFUL = 'unsuccessful';
|
||||
public const string STATUS_TIMEOUT = 'timeout';
|
||||
public const string STATUS_API_CLIENT_ERROR = 'api_client_error';
|
||||
|
||||
public function __construct(
|
||||
public string $status,
|
||||
public ?string $message = null,
|
||||
public bool $immutableChangesReverted = false,
|
||||
) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user