protected function registerCountry()
    {
        $this->app->singleton(Country::class, function ($app) {
            $repository = new Country;

            return $repository->setLocale($app['config']['app.locale'])->setFallbackLocale($app['config']['app.fallback_locale']);
        });

        $this->app->alias(Country::class, 'intl.country');
    }
protected function registerCountry()
    {
        $this->app->singleton(Country::class, function ($app) {
            $repository = new Country;

            return $repository->setLocale($app['config']['app.locale'])->setFallbackLocale($app['config']['app.fallback_locale']);
        });

        $this->app->alias(Country::class, 'intl.country');
    }
protected function registerCountry ( ) { $ this -> app -> singleton ( Country :: class , function ( $ app ) { $ repository = new Country ; return $ repository -> setLocale ( $ app [ 'config' ] [ 'app.locale' ] ) -> setFallbackLocale ( $ app [ 'config' ] [ 'app.fallback_locale' ] ) ; } ) ; $ this -> app -> alias ( Country :: class , 'intl.country' ) ; }
Register the country repository.

@return void
Register the country repository .