function CacheFactoryDecorator::__construct

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

File

core/modules/system/tests/modules/performance_test/src/Cache/CacheFactoryDecorator.php, line 25

Class

CacheFactoryDecorator
Decorates a cache factory to register all calls to the cache system.

Namespace

Drupal\performance_test\Cache

Code

public function __construct(protected readonly CacheFactoryInterface $cacheFactory, protected readonly PerformanceDataCollector $performanceDataCollector) {
}

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