public function registerDomainAwareness()
    {
        $this->app->resolving(RouteGenerator::class, function (RouteGenerator $generator, Application $app) {
            $generator->setBaseUrl($app->make('config')->get('app.url'));
        });
    }
public function registerDomainAwareness()
    {
        $this->app->resolving(RouteGenerator::class, function (RouteGenerator $generator, Application $app) {
            $generator->setBaseUrl($app->make('config')->get('app.url'));
        });
    }
public function registerDomainAwareness ( ) { $ this -> app -> resolving ( RouteGenerator :: class , function ( RouteGenerator $ generator , Application $ app ) { $ generator -> setBaseUrl ( $ app -> make ( 'config' ) -> get ( 'app.url' ) ) ; } ) ; }
Register domain awareness from configuration.

@return void
Register domain awareness from configuration .