Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
16 | public function setPaginator(Paginator $paginator): void |
||
17 | { |
||
18 | $this->paginator = $paginator; |
||
19 | |||
20 | $this->paginator->getMapping()->setAssociations($this->getFieldsAssociations()); |
||
21 | $this->paginator->getMapping()->getConstraint()->setOrders($this->getSortableFields()); |
||
22 | $this->paginator->getMapping()->getConstraint()->setFilters($this->getFilterableFields()); |
||
23 | } |
||
49 |