final class MapRequestBody (View source)

Used to map the request body to a single action argument.

Normally, Flow will map the request body into the arguments as an associative array. With this it is possible to map the full body into a single argument without wrapping the request body.

Properties

string $argumentName

Name of the argument to map the request body into. (Can be given as anonymous argument.)

Methods

__construct(string $argumentName)

No description

Details

__construct(string $argumentName)

No description

Parameters

string $argumentName