Loads the number of allowed requests and the corresponding timestamp from a persistent storage.
public loadAllowance ( |
||
$request | the current request | |
$action | the action to be executed | |
return | array | an array of two elements. The first element is the number of allowed requests, and the second element is the corresponding UNIX timestamp. |