function PerformanceDataCollector::addCacheTagOperation

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php \Drupal\performance_test\PerformanceDataCollector::addCacheTagOperation()
  2. 10 core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php \Drupal\performance_test\PerformanceDataCollector::addCacheTagOperation()

Adds a cache tag operation.

File

core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php, line 63

Class

PerformanceDataCollector
Collects and stores performance data for database and cache operations.

Namespace

Drupal\performance_test

Code

public function addCacheTagOperation(array $operation) {
  $this->cacheTagOperations[] = $operation;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.