API / Minn\Objects / RestRequest

RestRequest interface

Minn\Objects\RestRequest · public/minn/src/Minn/Objects/RestRequest.php · 3 lines

A REST request as the WordPress layer hands it to plugins (WP_REST_Request): its route, method, parameters, headers and body. The engine knows these objects by this mark and makes them through Runtime\Handoff, so it never names the WordPress layer's class.