You are here

public function TotalSucceededStatistic::__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/TotalSucceededStatistic.php, line 18

Class

TotalSucceededStatistic
Total number of succeeded queue items.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

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