CodeExplorer executeSequence example
public function execute(Flow
$flow, StorableFlow
$event): void
{ $state =
new FlowState();
$event->
setFlowState($state);
$state->flowId =
$flow->
getId();
foreach ($flow->
getSequences() as $sequence) { $state->delayed = false;
try { $this->
executeSequence($sequence,
$event);
} catch (\Exception
$e) { throw new ExecuteSequenceException($sequence->flowId,
$sequence->sequenceId,
$e->
getMessage(),
$e->
getCode(),
$e);
} if ($state->stop
) { return;
} } } public function executeSequence(?Sequence
$sequence, StorableFlow
$event): void
{