original_string: public function setRequest(Request $request)
      {
          $this->request = $request;
          $this->getContainer()->register('request', $request);
          return $this;
      }
code: public function setRequest(Request $request)
      {
          $this->request = $request;
          $this->getContainer()->register('request', $request);
          return $this;
      }
code_tokens: public function setRequest ( Request $ request ) { $ this -> request = $ request ; $ this -> getContainer ( ) -> register ( 'request' , $ request ) ; return $ this ; }
docstring: Sets a new request
  
  @param Request $request
  
  @return Application
docstring_tokens: Sets a new request