Returns the request body content.
Boolean $asResource If true, a resource will be returned:
string|resource The request body content or a resource to read the body stream.
Overrides Request::getContent
public function getContent($asResource = false) {
return http_build_query(array(
'_method' => 'PUT',
'content' => 'mycontent',
));
}