Files
kupshop/bundles/External/HannahBundle/Resources/script/ImportSellersScript.php
2025-08-02 16:30:27 +02:00

27 lines
605 B
PHP

<?php
declare(strict_types=1);
namespace External\HannahBundle\Resources\script;
use External\HannahBundle\Util\Seller\ImportSellers;
use KupShop\AdminBundle\Util\Script\Script;
use KupShop\KupShopBundle\Util\Compat\ServiceContainer;
class ImportSellersScript extends Script
{
protected static $name = 'Importovat prodejce';
protected function run(array $arguments)
{
$this->log('Running import...');
$import = ServiceContainer::getService(ImportSellers::class);
$import->process();
$this->log('Import done');
}
}
return ImportSellersScript::class;