ICounter
Can increment a number by some offset
Table of Contents
| increment() | Increment a stored number by some offset and return the new value. | int |
|---|
Methods
increment()
Increment a stored number by some offset and return the new value.
public
increment(
$key :
string
)
: int
Parameters
- $key : string
Counter key
Return values
int —value