removeHttpCacheRoute example



    /** * @param string $route * * @return bool */
    protected function removeHttpCacheRoute($route)
    {
        $cacheRouteInstaller = $this->get('shopware.http_cache.route_installer');

        return $cacheRouteInstaller->removeHttpCacheRoute($route);
    }

    private function initForm(): Form
    {
        $info = $this->Info();
        $formRepository = $this->Forms();
        $form = new Form();
        $form->setPluginId($this->getId());
        $form->setName($info->get('name'));
        $form->setLabel($info->get('label'));
        $form->setDescription($info->get('description'));

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