Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
19 | 6 | 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 | 6 | $this->data = $data; |
|
28 | 6 | $this->pagination = $pagination; |
|
29 | 6 | $this->page = $page; |
|
30 | 6 | $this->maxPerPage = $maxPerPage; |
|
31 | 6 | $this->orderBy = $orderBy; |
|
32 | 6 | $this->filters = $filters; |
|
33 | 6 | } |
|
65 |