The RateLimit class defines isActive($context, $rateLimitId) and the RateLimiterComponent class relies on this method. This isActive() method should have been included in the RateLimitInterface.
If you've implemented RateLimitInterface without the isActive method, we'd expect a method-not-found exception to be thrown.
Workaround: Implement isActive($context, $rateLimitId) on any class that implements RateLimitInterface.
The
RateLimit
class definesisActive($context, $rateLimitId)
and theRateLimiterComponent
class relies on this method. ThisisActive()
method should have been included in theRateLimitInterface
.If you've implemented RateLimitInterface without the isActive method, we'd expect a method-not-found exception to be thrown.
Workaround: Implement
isActive($context, $rateLimitId)
on any class that implementsRateLimitInterface
.Solution: Define
isActive()
inRateLimitInterface