Method |
Description |
|
clear ( string $stat, string $key = Stats::DEFAULT_KEY ) : boolean |
Delete a statistic with the given name. |
|
decr ( string $stat, integer $by = 1, string $key = Stats::DEFAULT_KEY ) : boolean |
Decrement the value of the specified statistic by a certain amount (default is -1) |
|
get ( string $stat, string $key = Stats::DEFAULT_KEY ) : mixed |
Get the value of the supplied statistic counter for the specified statistic |
|
incr ( string $stat, integer $by = 1, string $key = Stats::DEFAULT_KEY ) : boolean |
Increment the value of the specified statistic by a certain amount (default is 1) |
|