FlowService
Corex\Forms\Flow\FlowService · class · Forms layer
Orchestrates optimistic draft snapshots and flow lifecycle transitions.
Public API
Section titled “Public API”__construct(FlowRepository $flows, FlowConfigurationValidator $validator)
Section titled “__construct(FlowRepository $flows, FlowConfigurationValidator $validator)”create(NewFlowDraft $draft): array
Section titled “create(NewFlowDraft $draft): array”all(): array
Section titled “all(): array”listing(string $query, string $state): array
Section titled “listing(string $query, string $state): array”The flows a list shows, each beside the draft it would open, narrowed by name or slug and by state. A stored flow that cannot be read is not in it; the repository says which in the log.