| Total Complexity | 5 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | #[Scope(Spiral::HttpRequest)] |
||
| 21 | final class PaginationFactory implements PaginationProviderInterface |
||
| 22 | { |
||
| 23 | 4 | public function __construct( |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @throws ScopeException When no request are available. |
||
| 30 | */ |
||
| 31 | 3 | public function createPaginator(string $parameter, int $limit = 25): PaginatorInterface |
|
| 50 |