function PerformanceDataCollector::addCacheOperation
Adds a cache operation.
File
-
core/
modules/ system/ tests/ modules/ performance_test/ src/ PerformanceDataCollector.php, line 56
Class
- PerformanceDataCollector
- Collects and stores performance data for database and cache operations.
Namespace
Drupal\performance_testCode
public function addCacheOperation(array $operation) {
$this->cacheOperations[] = $operation;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.