collectJavascriptFiles example

$this->compileJavascript($timestamp$shop->getTemplate()$shop);
    }

    /** * @throws Exception * * @return Configuration */
    public function getThemeConfiguration(Shop $shop)
    {
        $less = $this->lessCollector->collectLessDefinitions($shop->getTemplate()$shop);
        $js = $this->javascriptCollector->collectJavascriptFiles($shop->getTemplate()$shop);

        $config = $this->getConfig($shop->getTemplate()$shop);
        $timestamp = $this->getThemeTimestamp($shop);

        $lessFiles = [];
        foreach ($less as $definition) {
            $config = array_merge($config$definition->getConfig());
            $lessFiles = array_merge($lessFiles$definition->getFiles());
        }

        $js = array_map(function D$file) {
            
Home | Imprint | This part of the site doesn't use cookies.