Keevitaja\Linguist\LinguistServiceProvider::register PHP Method

register() public method

Register any application services.
public register ( ) : void
return void
    public function register()
    {
        $this->mergeConfigFrom(__DIR__ . '/../config/linguist.php', 'linguist');
        $locale = defined('LOCALE') ? LOCALE : $this->app->config->get('linguist.default');
        $this->app->config->set('app.locale', $locale);
        $this->app->bind('linguist', function () {
            return $this->app->make('Keevitaja\\Linguist\\Services\\Linguist');
        });
        $this->app->bind('linguisthtmlbuilder', function () {
            return $this->app->make('Keevitaja\\Linguist\\Services\\HtmlBuilder');
        });
    }
LinguistServiceProvider