public function reset()
    {
        if ($this->has_matched_route === false) {
            $this->shortcircuit = false;
        }

        // Only reset middleware stack if this is not in a group callback.
        if ($this->is_group === false) {
            $this->middleware = [];
        }

        return $this;
    }
public function reset()
    {
        if ($this->has_matched_route === false) {
            $this->shortcircuit = false;
        }

        // Only reset middleware stack if this is not in a group callback.
        if ($this->is_group === false) {
            $this->middleware = [];
        }

        return $this;
    }
public function reset ( ) { if ( $ this -> has_matched_route === false ) { $ this -> shortcircuit = false ; } // Only reset middleware stack if this is not in a group callback. if ( $ this -> is_group === false ) { $ this -> middleware = [ ] ; } return $ this ; }
Resets internal pointers.

@since  1.0.0

@return Router
Resets internal pointers .