| Conditions | 1 |
| Paths | 1 |
| Total Lines | 5 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | 19 | public function handle(): callable |
|
| 24 | { |
||
| 25 | 19 | return function(callable $handler): callable { |
|
| 26 | 19 | return function(RequestInterface $request, array $options) use ($handler) { |
|
| 27 | 19 | return $this->_requestLimitRuleset->cache($request, $this->_requestHandler($handler, $request, $options)); |
|
| 28 | 19 | }; |
|
| 47 |