src/SessionHandler.php
protected function newSession(Request $request)
    {
        $factory = $this->sessionFactory;
        $cookie  = $request->getCookieParams();
        return $factory->newInstance($cookie);
    }
protected function newSession(Request $request)
    {
        $factory = $this->sessionFactory;
        $cookie  = $request->getCookieParams();
        return $factory->newInstance($cookie);
    }
protected function newSession ( Request $ request ) { $ factory = $ this -> sessionFactory ; $ cookie = $ request -> getCookieParams ( ) ; return $ factory -> newInstance ( $ cookie ) ; }
Create new session

@param Request $request PSR7 Request

@return Session\Session

@access protected
Create new session