original_string: public function getPrimaryModel() {
          if ($model = $this->_model) {
              return $model;
          }
  
          $class = $this->getPrimaryClass();
  
          if (!$class) {
              return null;
          }
  
          $this->setPrimaryModel(new $class());
  
          return $this->_model;
      }
code: public function getPrimaryModel() {
          if ($model = $this->_model) {
              return $model;
          }
  
          $class = $this->getPrimaryClass();
  
          if (!$class) {
              return null;
          }
  
          $this->setPrimaryModel(new $class());
  
          return $this->_model;
      }
code_tokens: public function getPrimaryModel ( ) { if ( $ model = $ this -> _model ) { return $ model ; } $ class = $ this -> getPrimaryClass ( ) ; if ( ! $ class ) { return null ; } $ this -> setPrimaryModel ( new $ class ( ) ) ; return $ this -> _model ; }
docstring: Return a primary model object.
  
  @return \Titon\Model\Model
docstring_tokens: Return a primary model object .