| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class DbalPaginator extends Paginator |
||
| 10 | { |
||
| 11 | /** @var QueryBuilder */ |
||
| 12 | private $qb; |
||
| 13 | |||
| 14 | public function __construct(QueryBuilder $qb, ?int $limit, int $offset) |
||
| 15 | { |
||
| 16 | parent::__construct($limit, $offset); |
||
| 17 | $this->qb = $qb; |
||
| 18 | } |
||
| 19 | |||
| 20 | protected function findAll(): array |
||
| 27 | } |
||
| 28 | |||
| 29 | protected function getTotal(): int |
||
| 39 | } |
||
| 40 | } |
||
| 41 |