class RequestBodyParsingComponent implements ComponentInterface (View source)

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

Properties

protected PropertyMapper $propertyMapper
protected ObjectManagerInterface $objectManager

Methods

void
handle(ComponentContext $componentContext)

No description

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

Parses the request body according to the media type.

Details

void handle(ComponentContext $componentContext)

No description

Parameters

ComponentContext $componentContext

Return Value

void

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