CacheableCacheInspectorController::getTotalCachedObjects
Get the total no. objects in the cache. Due to the way {@link CacheableNavigation} works, this is restricted to "SiteTree-ish" objects only at this point.
Signature
private function getTotalCachedObjects(string
$stage,
[string
$className = 'CacheableSiteTree'] )
Parameters
$stage
— string$className
— string
Returns
- int
- $total