public function register()
    {
        $this->app['squanto.cache_path'] = $this->getSquantoCachePath();
        $this->app['squanto.lang_path'] = $this->getSquantoLangPath();

        $this->registerTranslator();

        $this->app->bind(CachedTranslationFile::class, function ($app) {
            return new CachedTranslationFile(
                new Filesystem(new Local($this->getSquantoCachePath()))
            );
        });

        $this->app->bind(LaravelTranslationsReader::class, function ($app) {
            return new LaravelTranslationsReader(
                new Filesystem(new Local($this->getSquantoLangPath()))
            );
        });

        $this->mergeConfigFrom(__DIR__.'/../config/squanto.php', 'squanto');
    }
public function register()
    {
        $this->app['squanto.cache_path'] = $this->getSquantoCachePath();
        $this->app['squanto.lang_path'] = $this->getSquantoLangPath();

        $this->registerTranslator();

        $this->app->bind(CachedTranslationFile::class, function ($app) {
            return new CachedTranslationFile(
                new Filesystem(new Local($this->getSquantoCachePath()))
            );
        });

        $this->app->bind(LaravelTranslationsReader::class, function ($app) {
            return new LaravelTranslationsReader(
                new Filesystem(new Local($this->getSquantoLangPath()))
            );
        });

        $this->mergeConfigFrom(__DIR__.'/../config/squanto.php', 'squanto');
    }
public function register ( ) { $ this -> app [ 'squanto.cache_path' ] = $ this -> getSquantoCachePath ( ) ; $ this -> app [ 'squanto.lang_path' ] = $ this -> getSquantoLangPath ( ) ; $ this -> registerTranslator ( ) ; $ this -> app -> bind ( CachedTranslationFile :: class , function ( $ app ) { return new CachedTranslationFile ( new Filesystem ( new Local ( $ this -> getSquantoCachePath ( ) ) ) ) ; } ) ; $ this -> app -> bind ( LaravelTranslationsReader :: class , function ( $ app ) { return new LaravelTranslationsReader ( new Filesystem ( new Local ( $ this -> getSquantoLangPath ( ) ) ) ) ; } ) ; $ this -> mergeConfigFrom ( __DIR__ . '/../config/squanto.php' , 'squanto' ) ; }
Register our translator

@return void
Register our translator