| 1 | <?php |
||
| 22 | class RelationalPaginatorAdapter implements AdapterInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var Paginator |
||
| 26 | */ |
||
| 27 | protected $paginator; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Adapter constructor. |
||
| 31 | * |
||
| 32 | * @param Paginator $paginator |
||
| 33 | */ |
||
| 34 | public function __construct(Paginator $paginator) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function getItems($offset, $itemCountPerPage): array |
||
| 51 | |||
| 52 | /** |
||
| 53 | * {@inheritdoc} |
||
| 54 | */ |
||
| 55 | public function count(): int |
||
| 59 | } |
||
| 60 |