whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
barryvdh
/
laravel-translation-manager
/
src
/
Console
/
Upload File:
files >> //home/kckglobal/www/portal/vendor/barryvdh/laravel-translation-manager/src/Console/FindCommand.php
<?php namespace Barryvdh\TranslationManager\Console; use Barryvdh\TranslationManager\Manager; use Illuminate\Console\Command; class FindCommand extends Command { /** * The console command name. * * @var string */ protected $name = 'translations:find'; /** * The console command description. * * @var string */ protected $description = 'Find translations in php/twig files'; /** @var \Barryvdh\TranslationManager\Manager */ protected $manager; public function __construct(Manager $manager) { $this->manager = $manager; parent::__construct(); } /** * Execute the console command. */ public function handle() { $counter = $this->manager->findTranslations(null); $this->info('Done importing, processed '.$counter.' items!'); } }
Copyright ©2021 || Defacer Indonesia