HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/debout/debout.nl/vendor/komma/kms/src/ArtisanCommands/UpdateGlobalisationData.php
<?php

namespace Komma\KMS\ArtisanCommands;

use Komma\KMS\Globalization\UpdateServices\UpdateServiceInterface;
use Illuminate\Console\Command;

class UpdateGlobalisationData extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'kms:g11n-update';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Tries to update the globalisation data.';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return mixed
     */
    public function handle()
    {
        $this->info('Running globalisation update...');
        $this->info('Please wait...');
        /** @var UpdateServiceInterface $updater */
        $updater = app(UpdateServiceInterface::class);
        $updater->setOutputStyle($this->output);
        $updater->doUpdate();
        $this->info('globalisation update complete!');
    }
}