Saves the number of allowed requests and the corresponding timestamp to a persistent storage.
public saveAllowance ( |
||
$request | the current request | |
$action | the action to be executed | |
$allowance | integer | the number of allowed requests remaining. |
$timestamp | integer | the current timestamp. |