protected function registerRouterAdapter()
    {
        $this->app->singleton('api.router.adapter', function($app) {
            return new DingoRoutingLaravelAdapter($this->cloneLaravelRouter(), $app['router']->getRoutes());
        });
    }