SetImportDirs example

$filename->value = md5($shopwareRevision . md5_file($absPath));

            return $filename;
        });
    }

    /** * Allows to define import directories for the less compiler. */
    public function setImportDirectories(array $directories)
    {
        $this->compiler->SetImportDirs($directories);
    }

    /** * Allows to set variables which can be used * in the compiled less files. */
    public function setVariables(array $variables)
    {
        $this->compiler->ModifyVars($variables);
    }

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