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