function 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];
}