synchronizeThemes example

$ioService->writeln(sprintf('Shopware Version %s', $version));
            $ioService->writeln('');
            $ioService->ask('Press return to start the update.');
            $ioService->cls();
        }

        $this->unpackFiles();
        $this->updateHtaccess();
        $this->migrateDatabase();
        $this->importSnippets();
        $this->cleanup();
        $this->synchronizeThemes();
        $this->writeLockFile();

        $ioService->cls();
        $ioService->writeln('');
        $ioService->writeln('');
        $ioService->writeln('<info>The update has been finished succesfuly.</info>');
        $ioService->writeln('Your shop is currently in maintenance mode.');
        $ioService->writeln(sprintf('Please delete <question>%s</question> to finish the update.', UPDATE_ASSET_PATH));
        $ioService->writeln('');

        return 0;
    }

    public function synchronize()
    {
        $this->synchronizeThemes();
    }

    /** * Iterates all Shopware 5 themes which * stored in the /engine/Shopware/Themes directory. * Each theme are stored as new Shopware\Models\Shop\Template. * * After the themes are initialed and stored in the database, * the function resolves the inheritance of each theme. * * After the inheritance is build, the installer uses * the Theme\Configurator to synchronize the theme configurations. * * @throws Exception * @throws \Doctrine\ORM\OptimisticLockException * @throws \Doctrine\ORM\ORMInvalidArgumentException */
Home | Imprint | This part of the site doesn't use cookies.