You are here

public function CacheDataCollector::getCacheCidsCount in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheCidsCount()
  2. 8.2 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheCidsCount()
  3. 4.x webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheCidsCount()

Callback to return the total amount of requested cache CIDS.

Parameters

string $type:

Return value

int

3 calls to CacheDataCollector::getCacheCidsCount()
CacheDataCollector::getCacheHitsCount in webprofiler/src/DataCollector/CacheDataCollector.php
Callback to return the total amount of hit cache CIDS.
CacheDataCollector::getCacheMissesCount in webprofiler/src/DataCollector/CacheDataCollector.php
Callback to return the total amount of miss cache CIDS.
CacheDataCollector::getPanelSummary in webprofiler/src/DataCollector/CacheDataCollector.php
Returns the string used in vertical tab summary.

File

webprofiler/src/DataCollector/CacheDataCollector.php, line 83

Class

CacheDataCollector
Collects the used cache bins and cache CIDs.

Namespace

Drupal\webprofiler\DataCollector

Code

public function getCacheCidsCount($type) {
  return $this->data['total'][$type];
}