Skip to content
Corex

FlowTestService

Corex\Forms\Submission\FlowTestService · class · Forms layer

Runs the complete pipeline with a persisted marked-test submission. Every email the run sends is held, on any site: kept in Email Studio and never sent (spec 113, US3; the owner’s decision SAFE-D3). The result lists what was held.

__construct(FlowService $flows, FormSubmissionPipeline $pipeline, MailHold $hold)

Section titled “__construct(FlowService $flows, FormSubmissionPipeline $pipeline, MailHold $hold)”

run(int $flowId, int $expectedVersion, array $values): SubmissionPipelineResult

Section titled “run(int $flowId, int $expectedVersion, array $values): SubmissionPipelineResult”