protected function createDefaultRequest()
    {
        $request = Request::createFromGlobals();
        $session = new Session();

        $request->setSession($session);

        return $request;
    }
protected function createDefaultRequest()
    {
        $request = Request::createFromGlobals();
        $session = new Session();

        $request->setSession($session);

        return $request;
    }
protected function createDefaultRequest ( ) { $ request = Request :: createFromGlobals ( ) ; $ session = new Session ( ) ; $ request -> setSession ( $ session ) ; return $ request ; }
Create default request instance.

@return Request
Create default request instance .