src/Stage/After.php
<?php
declare(strict_types=1);
namespace PHPWorkflow\Stage;
use PHPWorkflow\ExecutableWorkflow;
use PHPWorkflow\State\WorkflowState;
use PHPWorkflow\Stage\Next\AllowNextExecuteWorkflow;
use PHPWorkflow\Step\WorkflowStep;
class After extends MultiStepStage implements ExecutableWorkflow
{
use AllowNextExecuteWorkflow;
const STAGE = WorkflowState::STAGE_AFTER;
public function after(WorkflowStep $step): self
{
return $this->addStep($step);
}
}