private function registerLangPublisher()
    {
        $this->singleton(Contracts\TransPublisher::class, function (Application $app) {
            /**
             * @var  \Illuminate\Filesystem\Filesystem              $files
             * @var  \Arcanedev\LaravelLang\Contracts\TransManager  $manager
             */
            $files   = $app['files'];
            $manager = $app[Contracts\TransManager::class];

            return new TransPublisher($files, $manager, $app->langPath());
        });
    }
private function registerLangPublisher()
    {
        $this->singleton(Contracts\TransPublisher::class, function (Application $app) {
            /**
             * @var  \Illuminate\Filesystem\Filesystem              $files
             * @var  \Arcanedev\LaravelLang\Contracts\TransManager  $manager
             */
            $files   = $app['files'];
            $manager = $app[Contracts\TransManager::class];

            return new TransPublisher($files, $manager, $app->langPath());
        });
    }
private function registerLangPublisher ( ) { $ this -> singleton ( Contracts \ TransPublisher :: class , function ( Application $ app ) { /**
             * @var  \Illuminate\Filesystem\Filesystem              $files
             * @var  \Arcanedev\LaravelLang\Contracts\TransManager  $manager
             */ $ files = $ app [ 'files' ] ; $ manager = $ app [ Contracts \ TransManager :: class ] ; return new TransPublisher ( $ files , $ manager , $ app -> langPath ( ) ) ; } ) ; }
Register the lang publisher.
Register the lang publisher .