Get cache status
Returns count of each cache type, or contents of each cache type of verbose option is specified.
Available since version 3.0.198.
Usage
// basic usage
$array = $pagesLoaderCache->getCacheStatus();
// usage with all arguments
$array = $pagesLoaderCache->getCacheStatus($verbose = null);
Arguments
Name | Type(s) | Description |
---|---|---|
verbose (optional) | bool, null | Specify true to get contents of cache, false to get string counts, or omit for array of counts |
Return value
array
string
PagesLoaderCache methods and properties
API reference based on ProcessWire core version 3.0.244