protected function refreshRequestStack()
    {
        if (! $this->persistAuthentication) {
            $this->auth->setUser(null);

            $this->persistAuthentication = true;
        }

        if ($route = \array_pop($this->routeStack)) {
            $this->router->setCurrentRoute($route);
        }

        $this->replaceRequestInstance();

        $this->clearCachedFacadeInstance();

        $this->raw = false;

        $this->version = $this->domain = $this->content = null;

        $this->parameters = $this->uploads = [];
    }
protected function refreshRequestStack()
    {
        if (! $this->persistAuthentication) {
            $this->auth->setUser(null);

            $this->persistAuthentication = true;
        }

        if ($route = \array_pop($this->routeStack)) {
            $this->router->setCurrentRoute($route);
        }

        $this->replaceRequestInstance();

        $this->clearCachedFacadeInstance();

        $this->raw = false;

        $this->version = $this->domain = $this->content = null;

        $this->parameters = $this->uploads = [];
    }
protected function refreshRequestStack ( ) { if ( ! $ this -> persistAuthentication ) { $ this -> auth -> setUser ( null ) ; $ this -> persistAuthentication = true ; } if ( $ route = \ array_pop ( $ this -> routeStack ) ) { $ this -> router -> setCurrentRoute ( $ route ) ; } $ this -> replaceRequestInstance ( ) ; $ this -> clearCachedFacadeInstance ( ) ; $ this -> raw = false ; $ this -> version = $ this -> domain = $ this -> content = null ; $ this -> parameters = $ this -> uploads = [ ] ; }
Refresh the request stack.

This is done by resetting the authentication, popping
the last request from the stack, replacing the input,
and resetting the version and parameters.

@return void
Refresh the request stack .