/home/techb158/immovalet.com/platform/plugins/translation/src/Console
NameSizeModeActions
CleanCommand.php9280644editdlrm
ExportCommand.php15740644editdlrm
ImportCommand.php13530644editdlrm
RemoveUnusedTranslationsCommand.php35650644editdlrm
ResetCommand.php9160644editdlrm
UpdateThemeTranslationCommand.php30110644editdlrm
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).'], ]; } }