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

@return void
Register the router adapter .