Вход Регистрация
Файл: vendor/laravel/framework/src/Illuminate/Support/Facades/RateLimiter.php
Строк: 47
<?php

namespace IlluminateSupportFacades;

/**
 * @method static IlluminateCacheRateLimiter for(string $name, Closure $callback)
 * @method static Closure limiter(string $name)
 * @method static mixed attempt(string $key, int $maxAttempts, Closure $callback, int $decaySeconds = 60)
 * @method static bool tooManyAttempts(string $key, int $maxAttempts)
 * @method static int hit(string $key, int $decaySeconds = 60)
 * @method static mixed attempts(string $key)
 * @method static mixed resetAttempts(string $key)
 * @method static int remaining(string $key, int $maxAttempts)
 * @method static int retriesLeft(string $key, int $maxAttempts)
 * @method static void clear(string $key)
 * @method static int availableIn(string $key)
 * @method static string cleanRateLimiterKey(string $key)
 *
 * @see IlluminateCacheRateLimiter
 */
class RateLimiter extends Facade
{
    
/**
     * Get the registered name of the component.
     *
     * @return string
     */
    
protected static function getFacadeAccessor()
    {
        return 
IlluminateCacheRateLimiter::class;
    }
}
Онлайн: 1
Реклама