FlowRestMapper
Corex\Forms\Flow\FlowRestMapper · class · Forms layer
Stable Flow REST mapping port composed from separate input and presentation policies.
Corex\Forms\Flow\FlowRestMapper · class · Forms layer
Stable Flow REST mapping port composed from separate input and presentation policies.
__construct(FlowRestInputMapper $input, FlowRestPresenter $presenter)createShape(): arrayupdateShape(): arraytransitionShape(): arraytestShape(): arraylistFilters(WP_REST_Request $request): arraynewFlow(array $input, int $actorId, DateTimeImmutable $now): NewFlowDraftdraftUpdate(int $flowId, array $input, int $actorId, DateTimeImmutable $now): FlowDraftUpdatetransition(int $flowId, array $input, int $actorId, DateTimeImmutable $now): FlowTransitionflow(Flow $flow): arraysummary(Flow $flow, FlowVersion $version): arrayversion(FlowVersion $version): arraypipeline(SubmissionPipelineResult $pipeline): array