original_string: protected function newSession(Request $request)
      {
          $factory = $this->sessionFactory;
          $cookie  = $request->getCookieParams();
          return $factory->newInstance($cookie);
      }
code: protected function newSession(Request $request)
      {
          $factory = $this->sessionFactory;
          $cookie  = $request->getCookieParams();
          return $factory->newInstance($cookie);
      }
code_tokens: protected function newSession ( Request $ request ) { $ factory = $ this -> sessionFactory ; $ cookie = $ request -> getCookieParams ( ) ; return $ factory -> newInstance ( $ cookie ) ; }
docstring: Create new session
  
  @param Request $request PSR7 Request
  
  @return Session\Session
  
  @access protected
docstring_tokens: Create new session