framework = $framework; parent::__construct(); } protected function configure(): void { $this ->setName(self::$defaultName) ->setDescription('Import products in Shopware instance') ; } protected function execute(InputInterface $input, OutputInterface $output): int { $this->framework->initialize(); $io = new SymfonyStyle($input, $output); $io->title('Product import to Shopware'); /** @var ShopwareImportProductsJob $import */ $import = System::getContainer()->get(ShopwareImportProductsJob::class); $import->import('cli', $io); return 0; } }