private function dispatch($request, $route)
    {
        if ($route->matched()) {
            $request = $request->withPathToMatch($route->matched(), $route->trailing());
        }
        // dispatch the route!
        return $this->dispatcher->withRoute($route)->__invoke($request);
    }
private function dispatch($request, $route)
    {
        if ($route->matched()) {
            $request = $request->withPathToMatch($route->matched(), $route->trailing());
        }
        // dispatch the route!
        return $this->dispatcher->withRoute($route)->__invoke($request);
    }
private function dispatch ( $ request , $ route ) { if ( $ route -> matched ( ) ) { $ request = $ request -> withPathToMatch ( $ route -> matched ( ) , $ route -> trailing ( ) ) ; } // dispatch the route! return $ this -> dispatcher -> withRoute ( $ route ) -> __invoke ( $ request ) ; }
execute the dispatcher and filters using blank new web application.

@param Request $request
@param Route   $route
@return mixed
execute the dispatcher and filters using blank new web application .