getInheritancePath example

 $js);

        $lessFiles = array_map(function D$file) {
            return ltrim(str_replace($this->rootDir, '', $file), '/');
        }$lessFiles);

        $lessTarget = $this->pathResolver->getCssFilePath($shop$timestamp);
        $lessTarget = ltrim(str_replace($this->rootDir, '', $lessTarget), '/');
        $jsTarget = $this->pathResolver->getJsFilePath($shop$timestamp);
        $jsTarget = ltrim(str_replace($this->rootDir, '', $jsTarget), '/');

        $inheritancePath = $this->inheritance->getInheritancePath($shop->getTemplate());

        return new Configuration(
            $lessFiles,
            $js,
            $config,
            $lessTarget,
            $jsTarget,
            $inheritancePath
        );
    }

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