class RequestBodyParsingMiddleware implements MiddlewareInterface (View source)

Parses the request body and adds the result to the ServerRequest instance.

Properties

protected PropertyMapper $propertyMapper
protected ObjectManagerInterface $objectManager

Methods

ResponseInterface
process(ServerRequestInterface $request, RequestHandlerInterface $next)

No description

null|array|string|int
parseRequestBody(ServerRequestInterface $httpRequest)

Parses the request body according to the media type.

Details

ResponseInterface process(ServerRequestInterface $request, RequestHandlerInterface $next)

No description

Parameters

ServerRequestInterface $request
RequestHandlerInterface $next

Return Value

ResponseInterface

protected null|array|string|int parseRequestBody(ServerRequestInterface $httpRequest)

Parses the request body according to the media type.

Parameters

ServerRequestInterface $httpRequest

Return Value

null|array|string|int