Matched routes should be saved so we can use getPattern() inside middleware hooks

Save matched routes in dispatchRequest so you can use $router->getPattern() in various middleware