You are here

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

Class

TotalFailedStatistic
Total number of failed queue items.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

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