public function put($url, $content = '')
    {
        $req = $url instanceof Request ? $url : $this->buildRequest('PUT', $url);
        $req->setBody($content);
        return $this->exec($req);
    }
public function put($url, $content = '')
    {
        $req = $url instanceof Request ? $url : $this->buildRequest('PUT', $url);
        $req->setBody($content);
        return $this->exec($req);
    }
public function put ( $ url , $ content = '' ) { $ req = $ url instanceof Request ? $ url : $ this -> buildRequest ( 'PUT' , $ url ) ; $ req -> setBody ( $ content ) ; return $ this -> exec ( $ req ) ; }
Shortcut of PUT request
@param string|Request $url request URL string, or request object.
@param string $content content to be put.
@return Response result response object.
Shortcut of PUT request