The RateLimiter::capacity
method
View at GitHub
version: 1.x
Introduction
Returns current capacity according to the selected algorithm, when there are no available hits left, it will return 0.
Use RateLimiter::estimate method to find out when next hit will be possible.
Description
Parameters
- string $id
Return Values
int