App.php
1 month ago
Artisan.php
1 month ago
Auth.php
1 month ago
Blade.php
1 month ago
Broadcast.php
1 month ago
Bus.php
1 month ago
Cache.php
1 month ago
Config.php
1 month ago
Cookie.php
1 month ago
Crypt.php
1 month ago
DB.php
1 month ago
Date.php
1 month ago
Event.php
1 month ago
Facade.php
1 month ago
File.php
1 month ago
Gate.php
1 month ago
Hash.php
1 month ago
Http.php
1 month ago
Lang.php
1 month ago
Log.php
1 month ago
Mail.php
1 month ago
Notification.php
1 month ago
ParallelTesting.php
1 month ago
Password.php
1 month ago
Queue.php
1 month ago
RateLimiter.php
1 month ago
Redirect.php
1 month ago
Redis.php
1 month ago
Request.php
1 month ago
Response.php
1 month ago
Route.php
1 month ago
Schema.php
1 month ago
Session.php
1 month ago
Storage.php
1 month ago
URL.php
1 month ago
Validator.php
1 month ago
View.php
1 month ago
Vite.php
1 month ago
RateLimiter.php
34 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static \Illuminate\Cache\RateLimiter for(string $name, \Closure $callback) |
| 7 | * @method static \Closure limiter(string $name) |
| 8 | * @method static mixed attempt(string $key, int $maxAttempts, \Closure $callback, int $decaySeconds = 60) |
| 9 | * @method static bool tooManyAttempts(string $key, int $maxAttempts) |
| 10 | * @method static int hit(string $key, int $decaySeconds = 60) |
| 11 | * @method static mixed attempts(string $key) |
| 12 | * @method static mixed resetAttempts(string $key) |
| 13 | * @method static int remaining(string $key, int $maxAttempts) |
| 14 | * @method static int retriesLeft(string $key, int $maxAttempts) |
| 15 | * @method static void clear(string $key) |
| 16 | * @method static int availableIn(string $key) |
| 17 | * @method static string cleanRateLimiterKey(string $key) |
| 18 | * |
| 19 | * @see \Illuminate\Cache\RateLimiter |
| 20 | * @internal |
| 21 | */ |
| 22 | class RateLimiter extends Facade |
| 23 | { |
| 24 | /** |
| 25 | * Get the registered name of the component. |
| 26 | * |
| 27 | * @return string |
| 28 | */ |
| 29 | protected static function getFacadeAccessor() |
| 30 | { |
| 31 | return \IAWPSCOPED\Illuminate\Cache\RateLimiter::class; |
| 32 | } |
| 33 | } |
| 34 |