public function delete()
    {
        if ($this->_id) {
            try {
                $this->_connection->delete($this->url() . '/' . $this->_id, []);

                return true;
            } catch (Exception $e) {
            }
        }

        return false;
    }
public function delete()
    {
        if ($this->_id) {
            try {
                $this->_connection->delete($this->url() . '/' . $this->_id, []);

                return true;
            } catch (Exception $e) {
            }
        }

        return false;
    }
public function delete ( ) { if ( $ this -> _id ) { try { $ this -> _connection -> delete ( $ this -> url ( ) . '/' . $ this -> _id , [ ] ) ; return true ; } catch ( Exception $ e ) { } } return false ; }
Explicitly delete the cursor

This might issue an HTTP DELETE request to inform the server about
the deletion.

@throws Exception
@return bool - true if the server acknowledged the deletion request, false otherwise
Explicitly delete the cursor