Asvae\ApiTester\Contracts\RouteRepositoryInterface::get PHP Method

get() public method

public get ( array $match = [], array $except = [] ) : mixed
$match array
$except array
return mixed
    public function get($match = [], $except = []);

Usage Example

 /**
  * Display list of all available routes.
  *
  * @param RouteRepositoryInterface $repository
  * @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'));
 }
RouteRepositoryInterface