platform/api/symfony/Component/HttpFoundation/RateLimiter/AbstractRequestRateLimiter.yaml

57 lines
1.2 KiB
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: AbstractRequestRateLimiter
class_comment: null
dependencies:
- name: Request
type: class
source: Symfony\Component\HttpFoundation\Request
- name: LimiterInterface
type: class
source: Symfony\Component\RateLimiter\LimiterInterface
- name: NoLimiter
type: class
source: Symfony\Component\RateLimiter\Policy\NoLimiter
- name: RateLimit
type: class
source: Symfony\Component\RateLimiter\RateLimit
properties: []
methods:
- name: consume
visibility: public
parameters:
- name: request
comment: null
- name: peek
visibility: public
parameters:
- name: request
comment: null
- name: doConsume
visibility: private
parameters:
- name: request
- name: tokens
comment: null
- name: reset
visibility: public
parameters:
- name: request
comment: null
- name: getLimiters
visibility: protected
parameters:
- name: request
comment: null
- name: getMinimalRateLimit
visibility: private
parameters:
- name: first
- name: second
comment: null
traits:
- Symfony\Component\HttpFoundation\Request
- Symfony\Component\RateLimiter\LimiterInterface
- Symfony\Component\RateLimiter\Policy\NoLimiter
- Symfony\Component\RateLimiter\RateLimit
interfaces:
- PeekableRequestRateLimiterInterface