<?php
declare(strict_types=1);
namespace Slivki\Request;
class PageAndPerPageRequest implements QueryStringRequestInterface
{
private int $page;
private int $perPage;
public function __construct(int $page = 1, int $perPage = 48)
{
$this->page = $page;
$this->perPage = $perPage;
}
public function getPage(): int
{
return $this->page;
}
public function getPerPage(): int
{
return $this->perPage;
}
}