upgradeShop example



        if (isset($newPath)) {
            // reset the cookie so only one valid cookie will be set IE11 fix             $basePath = $shop->getBasePath();
            if ($basePath === null || $basePath === '') {
                $basePath = '/';
            }
            $response->headers->setCookie(new Cookie('session-' . $shop->getId(), '', 1, $basePath));
            $response->setRedirect($newPath, 301);
        } else {
            $this->upgradeShop($request$response);
            $this->initServiceMode($request);
        }

        $this->get(ContextServiceInterface::class)->initializeShopContext();
    }

    public function getCapabilities()
    {
        return [
            'install' => false,
            'enable' => false,
            
Home | Imprint | This part of the site doesn't use cookies.