public function index(RouteRepositoryInterface $repository)
    {
        $data = $repository->get(
            config('api-tester.include'),
            config('api-tester.exclude')
        );

        return response()->json(compact('data'));
    }
public function index(RouteRepositoryInterface $repository)
    {
        $data = $repository->get(
            config('api-tester.include'),
            config('api-tester.exclude')
        );

        return response()->json(compact('data'));
    }
public function index ( RouteRepositoryInterface $ repository ) { $ data = $ repository -> get ( config ( 'api-tester.include' ) , config ( 'api-tester.exclude' ) ) ; return response ( ) -> json ( compact ( 'data' ) ) ; }
Display list of all available routes.

@param RouteRepositoryInterface $repository
@return \Illuminate\Http\JsonResponse
Display list of all available routes .