protected function registerBindings()
    {
        $this->app->singleton(LaravelLocalization::class, function () {
            return new LaravelLocalization();
        });

        $this->app->alias(LaravelLocalization::class, 'laravellocalization');
    }
protected function registerBindings()
    {
        $this->app->singleton(LaravelLocalization::class, function () {
            return new LaravelLocalization();
        });

        $this->app->alias(LaravelLocalization::class, 'laravellocalization');
    }
protected function registerBindings ( ) { $ this -> app -> singleton ( LaravelLocalization :: class , function ( ) { return new LaravelLocalization ( ) ; } ) ; $ this -> app -> alias ( LaravelLocalization :: class , 'laravellocalization' ) ; }
Registers app bindings and aliases.
Registers app bindings and aliases .