RateLimitFilter
class RateLimitFilter extends ContentFilter (View source)
Provides rate limiting of execution of a callback
Constants
CACHE_PREFIX |
Cache key prefix |
Properties
protected | ContentFilter | $nestedContentFilter | Nested content filter |
from ContentFilter |
Methods
Details
__construct($nestedContentFilter = null)
No description
protected Zend_Cache_Frontend
getCache()
Gets the cache to use
mixed
getContent(string $key, callable $callback)
Evaluates the result of the given callback
protected string
getCacheKey(string $itemkey)
Determines the key to use for saving the current rate