You are here

public function TotalNotSupportedStatistic::__construct in Purge 8.3

Construct a counter object.

Parameters

int|float $value: The initial positive number the counter starts its life with.

Overrides Counter::__construct

File

src/Plugin/Purge/Queue/TotalNotSupportedStatistic.php, line 18

Class

TotalNotSupportedStatistic
Total number of not supported invalidations.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function __construct($value = 0.0) {
  parent::__construct($value);
  $this
    ->disableDecrement();
}