public function map(Router $router) { $router->group(['as' => 'api-tester.', 'prefix' => config('api-tester.route'), 'namespace' => $this->getNamespace(), 'middleware' => $this->getMiddleware()], function () { $this->requireRoutes(); }); }