function PerformanceDataCollector::addCacheOperation

Same name in other branches
  1. 10 core/modules/system/tests/modules/performance_test/src/PerformanceDataCollector.php \Drupal\performance_test\PerformanceDataCollector::addCacheOperation()

Adds a cache operation.

File

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

Class

PerformanceDataCollector

Namespace

Drupal\performance_test

Code

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.