*/ public function items(); /** * Get the "index" of the first item being paginated. * * @return int|null */ public function firstItem(); /** * Get the "index" of the last item being paginated. * * @return int|null */ public function lastItem(); /** * Determine how many items are being shown per page. * * @return int */ public function perPage(); /** * Determine the current page being paginated. * * @return int */ public function currentPage(); /** * Determine if there are enough items to split into multiple pages. * * @return bool */ public function hasPages(); /** * Determine if there are more items in the data store. * * @return bool */ public function hasMorePages(); /** * Get the base path for paginator generated URLs. * * @return string|null */ public function path(); /** * Determine if the list of items is empty or not. * * @return bool */ public function isEmpty(); /** * Determine if the list of items is not empty. * * @return bool */ public function isNotEmpty(); /** * Render the paginator using a given view. * * @param string|null $view * @param array $data * @return string */ public function render($view = null, $data = []); }