<?php

namespace Comitium5\DesignerBundle\Model\Interfaces\Pagination;

/**
 * Interface PaginatorInterface
 *
 * @author Carles Gómez <carles@bab-soft.com>
 * @package Comitium5\DesignerBundle\Model\Interfaces\Pagination
 */
interface PaginatorInterface
{
    /**
     * @param $results
     * @param int $page
     * @param int $quantity
     * @param array $options
     *
     * @return mixed
     */
    public function paginate($results, int $page, int $quantity, array $options = []): PaginationInterface;
}
