<commit_before><?php

/**
 * This file is part of the CodeIgniter 4 framework.
 *
 * (c) CodeIgniter Foundation <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace CodeIgniter\Pager;

/**
 * Class PagerRenderer
 *
 * This class is passed to the view that describes the pagination,
 * and is used to get the link information and provide utility
 * methods needed to work with pagination.
 */
class PagerRenderer
{
	/**
	 * First page number.
	 *
	 * @var integer
	 */
	protected $first;

	/**
	 * Last page number.
	 *
	 * @var integer
	 */
	protected $last;

	/**
	 * Current page number.
	 *
	 * @var integer
	 */
	protected $current;

	/**
	 * Total number of pages? unused?
	 *
	 * @var integer
	 */
	protected $total;

	/**
	 * Page count?
	 *
	 * @var integer
	 */
	protected $pageCount;

	/**
	 * URI base for pagination links
	 *
	 * @var \CodeIgniter\HTTP\URI
	 */
	protected $uri;

	/**
	 * Segment number used for pagination.<commit_msg>docs: fix phpdoc comments<commit_after><?php

/**
 * This file is part of the CodeIgniter 4 framework.
 *
 * (c) CodeIgniter Foundation <<EMAIL>>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace CodeIgniter\Pager;

/**
 * Class PagerRenderer
 *
 * This class is passed to the view that describes the pagination,
 * and is used to get the link information and provide utility
 * methods needed to work with pagination.
 */
class PagerRenderer
{
	/**
	 * First page number.
	 *
	 * @var integer
	 */
	protected $first;

	/**
	 * Last page number.
	 *
	 * @var integer
	 */
	protected $last;

	/**
	 * Current page number.
	 *
	 * @var integer
	 */
	protected $current;

	/**
	 * Total number of items.
	 *
	 * @var integer
	 */
	protected $total;

	/**
	 * Total number of pages.
	 *
	 * @var integer
	 */
	protected $pageCount;

	/**
	 * URI base for pagination links
	 *
	 * @var \CodeIgniter\HTTP\URI
	 */
	protected $uri;

	/**
	 * Segment number used for pagination.
{'fraction_non_alphanumeric': 0.11347517730496454, 'fraction_numerical': 0.0009456264775413711, 'mean_word_length': 2.771836007130125, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4867953', 'n_tokens_mistral': 684, 'n_tokens_neox': 620, 'n_words': 237}