Symfony\Component\HttpFoundation\Request::getContent
Returns the request body content.
Signature
public function getContent([Boolean
$asResource = false] )
Parameters
$asResource
— object- If true, a resource will be returned
Returns
- string|resource
- The request body content or a resource to read the body stream.