Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
19 | public function __construct( |
||
20 | QueryBuilder $data, |
||
21 | bool $pagination, |
||
22 | int $page = 1, |
||
23 | int $maxPerPage = 25, |
||
24 | array $orderBy = [], |
||
25 | array $filters = [] |
||
26 | ) { |
||
27 | $this->data = $data; |
||
28 | $this->pagination = $pagination; |
||
29 | $this->page = $page; |
||
30 | $this->maxPerPage = $maxPerPage; |
||
31 | $this->orderBy = $orderBy; |
||
32 | $this->filters = $filters; |
||
33 | } |
||
65 |