Asvae\ApiTester\Http\Controllers\RouteController::index PHP Method

index() public method

Display list of all available routes.
public index ( Asvae\ApiTester\Contracts\RouteRepositoryInterface $repository ) : Illuminate\Http\JsonResponse
$repository Asvae\ApiTester\Contracts\RouteRepositoryInterface
return Illuminate\Http\JsonResponse
    public function index(RouteRepositoryInterface $repository)
    {
        $data = $repository->get(config('api-tester.include'), config('api-tester.exclude'));
        return response()->json(compact('data'));
    }
RouteController