protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });

        $this->events->dispatch(new Events\RouteMatched($route, $request));

        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
protected function runRoute(Request $request, Route $route)
    {
        $request->setRouteResolver(function () use ($route) {
            return $route;
        });

        $this->events->dispatch(new Events\RouteMatched($route, $request));

        return $this->prepareResponse($request,
            $this->runRouteWithinStack($route, $request)
        );
    }
protected function runRoute ( Request $ request , Route $ route ) { $ request -> setRouteResolver ( function ( ) use ( $ route ) { return $ route ; } ) ; $ this -> events -> dispatch ( new Events \ RouteMatched ( $ route , $ request ) ) ; return $ this -> prepareResponse ( $ request , $ this -> runRouteWithinStack ( $ route , $ request ) ) ; }
Return the response for the given route.

@param  \Illuminate\Http\Request  $request
@param  \Illuminate\Routing\Route  $route
@return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse
Return the response for the given route .