23 lines
469 B
PHP
23 lines
469 B
PHP
<?php
|
|
|
|
namespace App\States\Integration;
|
|
|
|
use App\Enums\IntegrationStatus;
|
|
|
|
class PendingRHValidationState extends IntegrationState
|
|
{
|
|
public function status(): IntegrationStatus
|
|
{
|
|
return IntegrationStatus::PendingRHValidation;
|
|
}
|
|
|
|
protected function allowedTransitions(): array
|
|
{
|
|
return [
|
|
IntegrationStatus::InProgress,
|
|
IntegrationStatus::Rejected,
|
|
IntegrationStatus::Cancelled,
|
|
];
|
|
}
|
|
}
|