original_string: protected function requestFromRequest(Request $request, $changeHistory = true)
      {
          return $this->request($request->getMethod(), $request->getUri(), $request->getParameters(), $request->getFiles(), $request->getServer(), $request->getContent(), $changeHistory);
      }
code: protected function requestFromRequest(Request $request, $changeHistory = true)
      {
          return $this->request($request->getMethod(), $request->getUri(), $request->getParameters(), $request->getFiles(), $request->getServer(), $request->getContent(), $changeHistory);
      }
code_tokens: protected function requestFromRequest ( Request $ request , $ changeHistory = true ) { return $ this -> request ( $ request -> getMethod ( ) , $ request -> getUri ( ) , $ request -> getParameters ( ) , $ request -> getFiles ( ) , $ request -> getServer ( ) , $ request -> getContent ( ) , $ changeHistory ) ; }
docstring: Makes a request from a Request object directly.
  
  @param Request $request       A Request instance
  @param bool    $changeHistory Whether to update the history or not (only used internally for back(), forward(), and reload())
  
  @return Crawler
docstring_tokens: Makes a request from a Request object directly .