Remove all pages from the cache
Usage
// basic usage
$int = $pagesLoaderCache->uncacheAll();
// usage with all arguments
$int = $pagesLoaderCache->uncacheAll($page = null, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
page (optional) | Page, null | Optional Page that initiated the uncacheAll |
options (optional) | array | Additional options to modify behavior:
|
Return value
int
Number of pages uncached
PagesLoaderCache methods and properties
API reference based on ProcessWire core version 3.0.244