Skip to content
Corex

FlowRestInputMapper

Corex\Forms\Flow\FlowRestInputMapper · class · Forms layer

Sanitizer shapes and command construction for the Flow REST boundary.

listFilters(WP_REST_Request $request): array

Section titled “listFilters(WP_REST_Request $request): array”

newFlow(array $input, int $actorId, DateTimeImmutable $now): NewFlowDraft

Section titled “newFlow(array $input, int $actorId, DateTimeImmutable $now): NewFlowDraft”

draftUpdate(int $flowId, array $input, int $actorId, DateTimeImmutable $now): FlowDraftUpdate

Section titled “draftUpdate(int $flowId, array $input, int $actorId, DateTimeImmutable $now): FlowDraftUpdate”

transition(int $flowId, array $input, int $actorId, DateTimeImmutable $now): FlowTransition

Section titled “transition(int $flowId, array $input, int $actorId, DateTimeImmutable $now): FlowTransition”