Méthode |
Description |
|
__construct ( string | array | ManaPHP\Counter\AdapterInterface $options = [] ) |
Counter constructor. |
|
decrement ( string $type, string $id, integer $step = 1 ) : integer |
Decrements the value of key by a given step. |
|
delete ( string $type, string $id ) : void |
Deletes the key |
|
get ( string $type, string $id ) : integer |
|
|
increment ( string $type, string $id, integer $step = 1 ) : integer |
Increments the value of key by a given step. |
|
setDependencyInjector ( ManaPHP\DiInterface $dependencyInjector ) : static |
|
|