ProCacheFileMerger::getFiles()
Get all files in the merge cache (both css and js)
Usage
// basic usage
$array = $proCacheFileMerger->getFiles();
// usage with all arguments
$array = $proCacheFileMerger->getFiles($ext = '', bool $sort = false);Arguments
| Name | Type(s) | Description |
|---|---|---|
$ext (optional) | string array | Optionally specify an extension or array of them |
$sort (optional) | bool | Sort newest to oldest? |
Return value
array
ProCacheFileMerger methods and properties
API reference based on ProcessWire core version 3.0.252