original_string: public function getById($id)
      {
          $modelResult = $this->getRequest()->request(
              'GET',
              $this->getRequestUrl(sprintf('models/%s', $id))
          );
  
          return $this->getModelFromResult($modelResult);
      }
code: public function getById($id)
      {
          $modelResult = $this->getRequest()->request(
              'GET',
              $this->getRequestUrl(sprintf('models/%s', $id))
          );
  
          return $this->getModelFromResult($modelResult);
      }
code_tokens: public function getById ( $ id ) { $ modelResult = $ this -> getRequest ( ) -> request ( 'GET' , $ this -> getRequestUrl ( sprintf ( 'models/%s' , $ id ) ) ) ; return $ this -> getModelFromResult ( $ modelResult ) ; }
docstring: Gets Model By Id
  
  @param $id
  
  @return Model
  
  @throws \Exception
docstring_tokens: Gets Model By Id