HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/work.naniguide.com/Modules/LanguagePack/Console/PublishTranslationCommand.php
<?php

namespace Modules\LanguagePack\Console;

use Illuminate\Console\Command;
use Modules\LanguagePack\Http\Controllers\LanguagePackController;

class PublishTranslationCommand extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $name = 'languagepack:publish-translation';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Publish translations to the application and modules from the LanguagePack module';

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        (new LanguagePackController())->publishAll();
    }

}