27 lines
605 B
PHP
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;
|