function PerformanceData::getCacheDeleteCountByBin
Returns the cache delete operation count grouped by bin.
Return value
int[] Count of cache delete operations keyed by bin.
File
-
core/
tests/ Drupal/ Tests/ PerformanceData.php, line 272
Class
- PerformanceData
- Value object to store performance information collected from requests.
Namespace
Drupal\TestsCode
public function getCacheDeleteCountByBin() : array {
return array_map(fn(array $cids) => count($cids), $this->cacheOperations['delete'] ?? []);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.