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