PagesLoaderCache::cacher method
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 = $pages->cacher->getCacheStatus();
// usage with all arguments
$array = $pages->cacher->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
$pages->cacher methods and properties
API reference based on ProcessWire core version 3.0.252