original_string: protected function hydrateModel($primaryKey)
      {
          try {
              $query = $this->prepareQuery();
              $this->model = $this->findPk($query, $primaryKey);
          } catch (\Exception $e) {
              Logger::log(get_class($this) . ': ' . $e->getMessage(), LOG_ERR);
          }
      }
code: protected function hydrateModel($primaryKey)
      {
          try {
              $query = $this->prepareQuery();
              $this->model = $this->findPk($query, $primaryKey);
          } catch (\Exception $e) {
              Logger::log(get_class($this) . ': ' . $e->getMessage(), LOG_ERR);
          }
      }
code_tokens: protected function hydrateModel ( $ primaryKey ) { try { $ query = $ this -> prepareQuery ( ) ; $ this -> model = $ this -> findPk ( $ query , $ primaryKey ) ; } catch ( \ Exception $ e ) { Logger :: log ( get_class ( $ this ) . ': ' . $ e -> getMessage ( ) , LOG_ERR ) ; } }
docstring: Hydrate model from pk
  
  @param string $primaryKey
docstring_tokens: Hydrate model from pk