RateLimiter (Cache)
RateLimiter
class RateLimiter (View source)
Methods
void | __construct( Repository $cache) Create a new rate limiter instance. | |
bool | tooManyAttempts( string $key, int $maxAttempts, int $decayMinutes = 1) Determine if the given key has been "accessed" too many times. | |
int
|