Compile an SCSS file
When using the file
option the given file must include full server path and must be writable. The method will return an error string if it cannot compile or write to the file, or boolean true if file does not need an update, or a positive
integer of bytes written if file was updated.
Usage
// basic usage
$string = $proCacheFileMerger->compileSCSS(string $file);
// usage with all arguments
$string = $proCacheFileMerger->compileSCSS(string $file, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
file | string | SCSS file |
options (optional) | array |
|
Return value
string
bool
int
ProCacheFileMerger methods and properties
API reference based on ProcessWire core version 3.0.244