FlowRestGateway
Corex\Forms\Flow\FlowRestGateway · class · Forms layer
Applies declared Flow REST middleware and maps domain results to envelopes.
Public API
Section titled “Public API”__construct(Pipeline $pipeline, MiddlewareResolver $middleware)
Section titled “__construct(Pipeline $pipeline, MiddlewareResolver $middleware)”permits(): true|WP_Error
Section titled “permits(): true|WP_Error”What every flow route asks before a handler runs. The handlers ask again through the middleware, and a change needs a nonce as well. This is here so the route says it is guarded.