RequestShapeGuardTrait
Controlled rejection of an external Api request whose parameter has the wrong shape (see {@see \App\Core\Utils\Helpers\RequestParamShape}).
Runs only inside action*(), i.e. after the startup CORS/JWT/RBAC gate — a caller
without the grant still gets 401/403 first. The response is HTTP 400 with the standard
Result envelope, and the typed internalAction*() helper (and so the manager) is never called.
Table of Contents
Methods
Methods
sendInvalidRequestParameter()
protected
sendInvalidRequestParameter(string $name) : void
Parameters
- $name : string