You are here

public function CounterInterface::__construct in Purge 8.3

Construct a counter object.

Parameters

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

1 method overrides CounterInterface::__construct()
Counter::__construct in src/Counter/Counter.php
Construct a counter object.

File

src/Counter/CounterInterface.php, line 16

Class

CounterInterface
Describes a numeric counter.

Namespace

Drupal\purge\Counter

Code

public function __construct($value = 0.0);