int availableIn(string $key) Get the number of seconds until the "key" is accessible again. Parameters string $key Return Value int
void clear(string $key) Clear the hits and lockout for the given key. Parameters string $key Return Value void
int hit(string $key, float|int $decayMinutes = 1) Increment the counter for a given key for a given decay time. Parameters string $key float|int $decayMinutes Return Value int
mixed resetAttempts(string $key) Reset the number of attempts for the given key. Parameters string $key Return Value mixed
int retriesLeft(string $key, int $maxAttempts) Get the number of retries left for the given key. Parameters string $key int $maxAttempts Return Value int
bool tooManyAttempts(string $key, int $maxAttempts, float|int $decayMinutes = 1) Determine if the given key has been "accessed" too many times. Parameters string $key int $maxAttempts float|int $decayMinutes Return Value bool
void __construct(Repository $cache) Create a new rate limiter instance. Parameters Repository $cache Return Value void
Redirect class Redirect extends Facade (View source) Methods static void swap(mixed $instance) Hotswap the underlying instance behind the facade. from Facade static Expectation shouldReceive() Initiate a mock expectation on the facade. from Facade static mixed getFacadeRoot() Get the root object behind the facade. from Facade static void clearResolvedInstance(string $name) Clear a resolved facade instance. from Facade static void clearResolvedInstances() Clear all of the r
static void clearResolvedInstance(string $name) Clear a resolved facade instance. Parameters string $name Return Value void
static void clearResolvedInstances() Clear all of the resolved instances. Return Value void
Page 9634 of 11844