public function CacheDataCollector::getCacheHits in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheHits()
- 8 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheHits()
- 8.2 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheHits()
Callback to return hit cache CIDs keyed by bin.
Return value
array
File
- webprofiler/
src/ DataCollector/ CacheDataCollector.php, line 129
Class
- CacheDataCollector
- Collects the used cache bins and cache CIDs.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getCacheHits() {
return $this
->cacheCids(CacheDataCollector::WEBPROFILER_CACHE_HIT);
}