Yii Framework 3.0 API Documentation
This is the Yii Framework API Documentation. Here you will find detailed information about all classes provided by the Framework. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.
On this page you find all the classes included in version 3.0 of the framework. You can use the dropdown menu on the top right to switch between versions.
You can search API documentation using the search form on the top.
You can search for class names and also method and property names, e.g. ActiveRecord.save() or just .save() or ::save().
This page is also available in JSON format:curl https://www.yiiframework.com/doc/api/3.0/rate-limiter -H 'Accept: application/json'
| Class | Description |
|---|---|
| Yiisoft\Yii\RateLimiter\Counter | Counter implements generic cell rate limit algorithm (GCRA) that ensures that after reaching the limit further increments are distributed equally. |
| Yiisoft\Yii\RateLimiter\CounterInterface | CounterInterface implementations describe the limiting algorithm. On each {@see CounterInterface::hit()} call it determines when the next hit won't be limited. |
| Yiisoft\Yii\RateLimiter\CounterState | Rate limiter counter state stores information about when the next request won't be limited. |
| Yiisoft\Yii\RateLimiter\LimitRequestsMiddleware | RateLimiter helps to prevent abuse by limiting the number of requests that could be me made consequentially. |
| Yiisoft\Yii\RateLimiter\Policy\LimitAlways | |
| Yiisoft\Yii\RateLimiter\Policy\LimitCallback | |
| Yiisoft\Yii\RateLimiter\Policy\LimitPerIp | |
| Yiisoft\Yii\RateLimiter\Policy\LimitPolicyInterface | Defines policy for limiting requests i.e. which requests should be hit-counted together and which should be counted separately. |
| Yiisoft\Yii\RateLimiter\Storage\ApcuStorage | To use this storage, the APCu PHP extension must be loaded, And you should add "apc.enabled = 1" to your php.ini. |
| Yiisoft\Yii\RateLimiter\Storage\SimpleCacheStorage | |
| Yiisoft\Yii\RateLimiter\Storage\StorageInterface | Counter storage. |
| Yiisoft\Yii\RateLimiter\Time\MicrotimeTimer | |
| Yiisoft\Yii\RateLimiter\Time\TimerInterface |
Signup or Login in order to comment.