framework = $framework; parent::__construct(); } protected function configure(): void { $this ->setName(self::$defaultName) ->setDescription('Test connection') ; } protected function execute(InputInterface $input, OutputInterface $output): int { $this->framework->initialize(); /** @var Shopware $Shopware */ $Shopware = System::getContainer()->get(Shopware::class); dump($Shopware->testApiRequest()); return 0; } }