Clear out all cached files
Usage
// basic usage
$int = $proCacheFileMerger->clear();
// usage with all arguments
$int = $proCacheFileMerger->clear(string $ext = '');
Arguments
Name | Type(s) | Description |
---|---|---|
ext (optional) | string | Optional extension to clear |
Return value
int
Number of files removed
ProCacheFileMerger methods and properties
API reference based on ProcessWire core version 3.0.244