original_string: public function delete() {
      if ($this->isNew()) {
        throw new \Exception('ID is not setted for Delete');
      }
  
      $this->db()->delete($this->table, $this->identifier());
      $this->isDeleted = TRUE;
  
      return $this;
    }
code: public function delete() {
      if ($this->isNew()) {
        throw new \Exception('ID is not setted for Delete');
      }
  
      $this->db()->delete($this->table, $this->identifier());
      $this->isDeleted = TRUE;
  
      return $this;
    }
code_tokens: public function delete ( ) { if ( $ this -> isNew ( ) ) { throw new \ Exception ( 'ID is not setted for Delete' ) ; } $ this -> db ( ) -> delete ( $ this -> table , $ this -> identifier ( ) ) ; $ this -> isDeleted = TRUE ; return $ this ; }
docstring: Deletes the record.
  
  @return $this
  
  @throws \Exception
docstring_tokens: Deletes the record .