| 1 | <?php |
||
| 7 | final class ApcuRateLimiter extends AbstractElapsedTimeRateLimiter |
||
| 8 | { |
||
| 9 | public function __construct(string $keyPrefix = '') |
||
| 21 | |||
| 22 | protected function getCurrent(string $valueKey): int |
||
| 26 | |||
| 27 | protected function updateCounter(string $valueKey, string $timeKey, int $interval): int |
||
| 37 | |||
| 38 | protected function getElapsedTime(string $timeKey): int |
||
| 42 | } |
||
| 43 |