original_string: public function find($primaryKey)
      {
          $where = array(
              $this->_primary => $primaryKey
          );
  
          $qp = $this->_fetch($where);
          $row = $this->_fetchRow($qp['query'], $qp['params']);
          $className = $this->_rowClass;
          $class = new $className($this);
  
          if (!$row) {
              return false;
          }
  
          $class->setData($row);
  
          return $class;
      }
code: public function find($primaryKey)
      {
          $where = array(
              $this->_primary => $primaryKey
          );
  
          $qp = $this->_fetch($where);
          $row = $this->_fetchRow($qp['query'], $qp['params']);
          $className = $this->_rowClass;
          $class = new $className($this);
  
          if (!$row) {
              return false;
          }
  
          $class->setData($row);
  
          return $class;
      }
code_tokens: public function find ( $ primaryKey ) { $ where = array ( $ this -> _primary => $ primaryKey ) ; $ qp = $ this -> _fetch ( $ where ) ; $ row = $ this -> _fetchRow ( $ qp [ 'query' ] , $ qp [ 'params' ] ) ; $ className = $ this -> _rowClass ; $ class = new $ className ( $ this ) ; if ( ! $ row ) { return false ; } $ class -> setData ( $ row ) ; return $ class ; }
docstring: Find a row by primary key
  @param mixed $primaryKey Primary key value
  @return \Core\Orm\RowGateway | bool
docstring_tokens: Find a row by primary key