public function executeSequence(?Sequence
$sequence, StorableFlow
$event): void
{ if ($sequence === null
) { return;
} $event->
getFlowState()->currentSequence =
$sequence;
if ($sequence instanceof IfSequence
) { $this->
executeIf($sequence,
$event);
return;
} if ($sequence instanceof ActionSequence
) { $this->
executeAction($sequence,
$event);
} } public function executeAction(ActionSequence
$sequence, StorableFlow
$event): void
{