original_string: public function delete(): bool
      {
          /**
           * Execute pre-DELETE logic
           */
          $this->beforeDelete();
  
          $primaryKey = $this->getPrimaryKey();
  
          /**
           * Execute the DELETE (this may throw an exception)
           */
          $table = $this->getTable();
          $result = $table::delete($primaryKey);
  
          /**
           * Execute post-DELETE logic
           */
          $this->afterDelete();
  
          /**
           * Reset all fields to null to indicate that the row is not there
           */
          $this->resetArray();
  
          return $result > 0;
      }
code: public function delete(): bool
      {
          /**
           * Execute pre-DELETE logic
           */
          $this->beforeDelete();
  
          $primaryKey = $this->getPrimaryKey();
  
          /**
           * Execute the DELETE (this may throw an exception)
           */
          $table = $this->getTable();
          $result = $table::delete($primaryKey);
  
          /**
           * Execute post-DELETE logic
           */
          $this->afterDelete();
  
          /**
           * Reset all fields to null to indicate that the row is not there
           */
          $this->resetArray();
  
          return $result > 0;
      }
code_tokens: public function delete ( ) : bool { /**
           * Execute pre-DELETE logic
           */ $ this -> beforeDelete ( ) ; $ primaryKey = $ this -> getPrimaryKey ( ) ; /**
           * Execute the DELETE (this may throw an exception)
           */ $ table = $ this -> getTable ( ) ; $ result = $ table :: delete ( $ primaryKey ) ; /**
           * Execute post-DELETE logic
           */ $ this -> afterDelete ( ) ; /**
           * Reset all fields to null to indicate that the row is not there
           */ $ this -> resetArray ( ) ; return $ result > 0 ; }
docstring: Delete existing row
  
  @return bool Removed or not
  @throws InvalidPrimaryKeyException
  @throws TableNotFoundException
docstring_tokens: Delete existing row