public function delete($url, $params = [])
    {
        if (is_array($url)) {
            return $this->mdelete($url, $params);
        }
        return $this->exec($this->buildRequest('DELETE', $url, $params));
    }
public function delete($url, $params = [])
    {
        if (is_array($url)) {
            return $this->mdelete($url, $params);
        }
        return $this->exec($this->buildRequest('DELETE', $url, $params));
    }
public function delete ( $ url , $ params = [ ] ) { if ( is_array ( $ url ) ) { return $ this -> mdelete ( $ url , $ params ) ; } return $ this -> exec ( $ this -> buildRequest ( 'DELETE' , $ url , $ params ) ) ; }
Shortcut of DELETE request
@param string $url request URL string.
@param array $params extra query params, appended to URL.
@return Response result response object.
Shortcut of DELETE request