for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/*
* This file is part of the SeamsCMSDeliverySdk package.
*
* (c) Seams-CMS.com
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SeamsCMS\Delivery;
/**
* Class Filter
* @package SeamsCMS\Delivery
class Filter
{
/** @var int */
protected $offset = 0;
protected $limit = 100;
/** @var string */
protected $sort = "";
protected $query = "";
* @return int
public function getOffset(): int
return $this->offset;
}
* @param int $offset
public function setOffset(int $offset)
$this->offset = $offset;
public function getLimit(): int
return $this->limit;
* @param int $limit
public function setLimit(int $limit)
$this->limit = $limit;
* @return string
public function getSort(): string
return $this->sort;
* @param string $sort
public function setSort(string $sort)
$this->sort = $sort;
public function getQuery(): string
return $this->query;
* @param string $query
public function setQuery(string $query)
$this->query = $query;