public function CacheDataCollector::getCacheHitsCount in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheHitsCount()
- 8 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheHitsCount()
- 8.2 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheHitsCount()
Callback to return the total amount of hit cache CIDS.
Return value
int
File
- webprofiler/
src/ DataCollector/ CacheDataCollector.php, line 92
Class
- CacheDataCollector
- Collects the used cache bins and cache CIDs.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getCacheHitsCount() {
return $this
->getCacheCidsCount(CacheDataCollector::WEBPROFILER_CACHE_HIT);
}