You are here

public function Counter::getInteger in Purge 8.3

Get the current value as integer.

Return value

int The numeric value of the counter, typecasted as int.

Overrides CounterInterface::getInteger

File

src/Counter/Counter.php, line 85

Class

Counter
Provides a numeric counter.

Namespace

Drupal\purge\Counter

Code

public function getInteger() {
  return (int) $this->value;
}