$procache→js()
Merge and minify the given array or CSV string of Javascript file URLs
Usage
// basic usage
$string = $procache->js($files);
// usage with all arguments
$string = $procache->js($files, bool $minify = true);
Arguments
Name | Type(s) | Description |
---|---|---|
$files | array string WireArray | JS file URLs |
$minify (optional) | bool | Also minify the files? Default:true |
Return value
string
Merged/minified file URL
$procache methods and properties
API reference based on ProcessWire core version 3.0.252