$procachecss()

Merge and minify the given array or CSV string of CSS, SCSS or LESS file URLs

SCSS and LESS files will be automatically compiled.

Usage

// basic usage
$string = $procache->css($files);

// usage with all arguments
$string = $procache->css($files, bool $minify = true);

Arguments

NameType(s)Description
$filesarray string WireArray

CSS/SCSS/LESS file URLs

$minify (optional)bool

Also minfiy the files Default:true

Return value

string

Merged/minfied file URL


$procache methods and properties

API reference based on ProcessWire core version 3.0.252