GlobalLimit.php 378 B

123456789101112131415161718
  1. <?php
  2. namespace Illuminate\Cache\RateLimiting;
  3. class GlobalLimit extends Limit
  4. {
  5. /**
  6. * Create a new limit instance.
  7. *
  8. * @param int $maxAttempts
  9. * @param int $decayMinutes
  10. * @return void
  11. */
  12. public function __construct(int $maxAttempts, int $decayMinutes = 1)
  13. {
  14. parent::__construct('', $maxAttempts, $decayMinutes);
  15. }
  16. }