private function registerTransChecker()
    {
        $this->singleton(Contracts\TransChecker::class, function (Application $app) {
            /**
             * @var  \Illuminate\Translation\Translator             $translator
             * @var  \Arcanedev\LaravelLang\Contracts\TransManager  $manager
             * @var  \Illuminate\Contracts\Config\Repository        $config
             */
            $translator = $app['translator'];
            $manager    = $app[Contracts\TransManager::class];
            $config     = $app['config'];

            return new TransChecker($translator, $manager, $config->get('laravel-lang', []));
        });
    }
private function registerTransChecker()
    {
        $this->singleton(Contracts\TransChecker::class, function (Application $app) {
            /**
             * @var  \Illuminate\Translation\Translator             $translator
             * @var  \Arcanedev\LaravelLang\Contracts\TransManager  $manager
             * @var  \Illuminate\Contracts\Config\Repository        $config
             */
            $translator = $app['translator'];
            $manager    = $app[Contracts\TransManager::class];
            $config     = $app['config'];

            return new TransChecker($translator, $manager, $config->get('laravel-lang', []));
        });
    }
private function registerTransChecker ( ) { $ this -> singleton ( Contracts \ TransChecker :: class , function ( Application $ app ) { /**
             * @var  \Illuminate\Translation\Translator             $translator
             * @var  \Arcanedev\LaravelLang\Contracts\TransManager  $manager
             * @var  \Illuminate\Contracts\Config\Repository        $config
             */ $ translator = $ app [ 'translator' ] ; $ manager = $ app [ Contracts \ TransManager :: class ] ; $ config = $ app [ 'config' ] ; return new TransChecker ( $ translator , $ manager , $ config -> get ( 'laravel-lang' , [ ] ) ) ; } ) ; }
Register the trans checker.
Register the trans checker .