Extends Request.
$data
Return an instance with the specified body parameters.
null|array|object
*
static
Example:
$serverRequest = $serverRequest->withParsedBody( [ 'foo' => 'bar', 'yes' => 'I do' ] ); $parsedBody = $serverRequest->getParsedBody(); echo $parsedBody['yes']; // Outputs: I do
There was an error while loading. Please reload this page.