src/TranslationServiceProvider.php
public function registerCacheRepository()
    {
        $this->app->singleton('translation.cache.repository', function ($app) {
            $cacheStore = $app['cache']->getStore();
            return CacheRepositoryFactory::make($cacheStore, $app['config']->get('translator.cache.suffix'));
        });
    }
public function registerCacheRepository()
    {
        $this->app->singleton('translation.cache.repository', function ($app) {
            $cacheStore = $app['cache']->getStore();
            return CacheRepositoryFactory::make($cacheStore, $app['config']->get('translator.cache.suffix'));
        });
    }
public function registerCacheRepository ( ) { $ this -> app -> singleton ( 'translation.cache.repository' , function ( $ app ) { $ cacheStore = $ app [ 'cache' ] -> getStore ( ) ; return CacheRepositoryFactory :: make ( $ cacheStore , $ app [ 'config' ] -> get ( 'translator.cache.suffix' ) ) ; } ) ; }
Register the translation cache repository

@return void
Register the translation cache repository