%PDF- %PDF-
Direktori : /var/www/html/geotechnics/api/vendor/league/fractal/src/Pagination/ |
Current File : /var/www/html/geotechnics/api/vendor/league/fractal/src/Pagination/PaginatorInterface.php |
<?php /* * This file is part of the League\Fractal package. * * (c) Phil Sturgeon <me@philsturgeon.uk> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace League\Fractal\Pagination; /** * A common interface for paginators to use * * @author Marc Addeo <marcaddeo@gmail.com> */ interface PaginatorInterface { /** * Get the current page. * * @return int */ public function getCurrentPage(); /** * Get the last page. * * @return int */ public function getLastPage(); /** * Get the total. * * @return int */ public function getTotal(); /** * Get the count. * * @return int */ public function getCount(); /** * Get the number per page. * * @return int */ public function getPerPage(); /** * Get the url for the given page. * * @param int $page * * @return string */ public function getUrl($page); }