Subversion-Projekte lars-tiefland.laravel_shop

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
148 lars 1
<?php
2
 
3
namespace 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
 */
21
class RateLimiter extends Facade
22
{
23
    /**
24
     * Get the registered name of the component.
25
     *
26
     * @return string
27
     */
28
    protected static function getFacadeAccessor()
29
    {
30
        return \Illuminate\Cache\RateLimiter::class;
31
    }
32
}