ProCacheFileMerger::compileLESS()

Compile a LESS file

Usage

// basic usage
$string = $proCacheFileMerger->compileLESS(string $file);

// usage with all arguments
$string = $proCacheFileMerger->compileLESS(string $file, array $options = []);

Arguments

NameType(s)Description
$filestring
$options (optional)array
  • compiler (\lessc|\Less_Parser): LESS compiler if you already have an instance you want to use
  • includePaths (array): Paths to look for files referenced in

Return value

string


ProCacheFileMerger methods and properties

API reference based on ProcessWire core version 3.0.252