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