Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | final class RateLimitMiddleware implements Middleware |
||
14 | { |
||
15 | /** |
||
16 | * @var RateLimitProviderInterface |
||
17 | */ |
||
18 | private $rateLimitProvider; |
||
19 | /** |
||
20 | * @var RateLimiterInterface |
||
21 | */ |
||
22 | private $rateLimiter; |
||
23 | /** |
||
24 | * @var LoggerInterface |
||
25 | */ |
||
26 | private $logger; |
||
27 | |||
28 | 3 | public function __construct( |
|
36 | 3 | } |
|
37 | |||
38 | 3 | public function execute($command, callable $next) |
|
54 |