Nexus API Reference

FromBodyResolver
in package
implements ParamResolver

Read onlyYes
FinalYes
Tags
psalm-api

Recognises #[FromBody] and deserializes the request body into the typed DTO via the configured MessageSerializer. Only valid in request-bound scopes (skips HttpBoot).

Throws at compile time if the parameter lacks a class type hint or no MessageSerializer is wired.

Table of Contents

Interfaces

ParamResolver

Methods

compile()  : ParamMetadata|null
resolve()  : mixed

Methods


        
On this page

Search results