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