feat: Initialize core application structure including authentication, role-based dashboards, service task management, and integration workflows.
This commit is contained in:
22
app/States/Integration/InProgressState.php
Normal file
22
app/States/Integration/InProgressState.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\States\Integration;
|
||||
|
||||
use App\Enums\IntegrationStatus;
|
||||
|
||||
class InProgressState extends IntegrationState
|
||||
{
|
||||
public function status(): IntegrationStatus
|
||||
{
|
||||
return IntegrationStatus::InProgress;
|
||||
}
|
||||
|
||||
protected function allowedTransitions(): array
|
||||
{
|
||||
return [
|
||||
IntegrationStatus::WaitingServices,
|
||||
IntegrationStatus::Completed,
|
||||
IntegrationStatus::Cancelled,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user