public function handleMatchedRoute($route) { response()->json(['data' => new RouteInfo($route)])->send(); exit; }