ctrl-f5/ctrl-common

View on GitHub
src/EntityService/Finder/PaginatableResultInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Ctrl\Common\EntityService\Finder;

use Ctrl\Common\Paginator\DoctrinePaginator;

interface PaginatableResultInterface
{
    /**
     * @param int $page
     * @param int|null $pageSize
     * @return DoctrinePaginator
     */
    public function getPaginator($page = 1, $pageSize = 15);
}