CachingFrameworkStorage implements StorageInterface
A rate limiter storage utilizing TYPO3's Caching Framework.
This is not part of the official TYPO3 Core API due to a limitation of the Symfony Rate Limiter API.
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Interfaces
- StorageInterface
Methods
- __construct() : mixed
- delete() : void
- fetch() : LimiterStateInterface|null
- save() : void
Methods
__construct()
public
__construct(CacheManager $cacheInstance) : mixed
Parameters
- $cacheInstance : CacheManager
delete()
public
delete(string $limiterStateId) : void
Parameters
- $limiterStateId : string
fetch()
public
fetch(string $limiterStateId) : LimiterStateInterface|null
Parameters
- $limiterStateId : string
Return values
LimiterStateInterface|nullsave()
public
save(LimiterStateInterface $limiterState) : void
Parameters
- $limiterState : LimiterStateInterface