original_string: public function delete($id)
      {
          $query = $this->createQueryBuilder();
  
          $query->where($this->getPrimaryKey($query), $id);
          $query->delete();
      }
code: public function delete($id)
      {
          $query = $this->createQueryBuilder();
  
          $query->where($this->getPrimaryKey($query), $id);
          $query->delete();
      }
code_tokens: public function delete ( $ id ) { $ query = $ this -> createQueryBuilder ( ) ; $ query -> where ( $ this -> getPrimaryKey ( $ query ) , $ id ) ; $ query -> delete ( ) ; }
docstring: Delete a resource by its primary key
  @param  mixed $id
  @return void
docstring_tokens: Delete a resource by its primary key