public function delete($request)
    {
        $this->logger->debug("DELETE");

        $ch = curl_init();

        $this->setOptions($ch, $request->getUrlStr(), $request->getHeaders());


        // Options specific to DELETE
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');

        return $this->execute($ch);
    }
public function delete($request)
    {
        $this->logger->debug("DELETE");

        $ch = curl_init();

        $this->setOptions($ch, $request->getUrlStr(), $request->getHeaders());


        // Options specific to DELETE
        curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');

        return $this->execute($ch);
    }
public function delete ( $ request ) { $ this -> logger -> debug ( "DELETE" ) ; $ ch = curl_init ( ) ; $ this -> setOptions ( $ ch , $ request -> getUrlStr ( ) , $ request -> getHeaders ( ) ) ; // Options specific to DELETE curl_setopt ( $ ch , CURLOPT_CUSTOMREQUEST , 'DELETE' ) ; return $ this -> execute ( $ ch ) ; }
Perform a DELETE request with cURL

@param RESTRequest request A REST request.
@return RESTResponse A REST response.
Perform a DELETE request with cURL