/home/techb158/immovalet.com/platform/plugins/translation/src/Console
Edit: /home/techb158/immovalet.com/platform/plugins/translation/src/Console/ImportCommand.php (1353B)
manager = $manager;
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$this->info('Importing...');
$replace = $this->option('replace');
$counter = $this->manager->importTranslations($replace);
$this->info('Done importing, processed ' . $counter . ' items!');
return 0;
}
/**
* Get the console command options.
*
* @return array
*/
protected function getOptions()
{
return [
['replace', 'R', InputOption::VALUE_NONE, 'Replace existing keys'],
];
}
}