public function PurgerBase::setRuntimeMeasurement in Purge 8.3
Inject the runtime measurement counter.
Parameters
\Drupal\purge\Plugin\Purge\Purger\RuntimeMeasurementInterface $measurement: The runtime measurement counter.
Overrides PurgerCapacityDataInterface::setRuntimeMeasurement
File
- src/
Plugin/ Purge/ Purger/ PurgerBase.php, line 154
Class
- PurgerBase
- Provides a base class for all purgers - the cache invalidation executors.
Namespace
Drupal\purge\Plugin\Purge\PurgerCode
public function setRuntimeMeasurement(RuntimeMeasurementInterface $measurement) {
$this->runtimeMeasurement = $measurement;
}