Skip to content
Snippets Groups Projects
Pagination.php 249 B
Newer Older
Pavel's avatar
Pavel committed
<?php

namespace IQDEV\Search;

final class Pagination
{
    public int $limit;
Pavel's avatar
Pavel committed
    public int $offset;
Pavel's avatar
Pavel committed

Pavel's avatar
Pavel committed
    public function __construct(int $limit = 20, int $offset = 0)
Pavel's avatar
Pavel committed
    {
        $this->limit = $limit;
Pavel's avatar
Pavel committed
        $this->offset = $offset;
Pavel's avatar
Pavel committed
    }
}