askShopwareEdition example

if ($this->IOHelper->isInteractive()) {
            $this->IOHelper->cls();
            $this->IOHelper->writeln('<info>=== License Information ===</info>');

            /** @var LicenseUnpackService $licenseService */
            $licenseService = $container->offsetGet('license.service');

            /** @var LicenseInstaller $licenseInstaller */
            $licenseInstaller = $container->offsetGet('license.installer');

            $this->askShopwareEdition($shop$licenseService$licenseInstaller);
        }

        /** @var \Shopware\Recovery\Common\SystemLocker $systemLocker */
        $systemLocker = $this->container->offsetGet('system.locker');
        $systemLocker();

        $container->offsetGet('uniqueid.persister')->store();

        $additionalInformation = [
            'method' => 'console',
        ];

        
Home | Imprint | This part of the site doesn't use cookies.