/home/techb158/immovalet.com/platform/plugins/translation/src/Console
Edit: /home/techb158/immovalet.com/platform/plugins/translation/src/Console/ExportCommand.php (1574B)
manager = $manager;
parent::__construct();
}
/**
* Execute the console command.
*
* @return void
* @throws \Symfony\Component\VarExporter\Exception\ExceptionInterface
*/
public function handle()
{
$group = $this->argument('group');
if (empty($group)) {
$this->warn('You must either specify a group argument');
return;
}
$this->manager->exportTranslations($group);
if (!empty($group)) {
$this->info('Done writing language files for ' . ($group == '*' ? 'ALL groups' : $group . ' group'));
}
}
/**
* Get the console command arguments.
*
* @return array
*/
protected function getArguments()
{
return [
['group', InputArgument::OPTIONAL, 'The group to export (`*` for all).'],
];
}
}