<?php

namespace Config;

use CodeIgniter\Config\BaseConfig;

class Pager extends BaseConfig
{
    /**
     * Default number of results per page.
     * Required by CodeIgniter\Pager\Pager::store().
     */
    public int $perPage = 15;

    /**
     * Bootstrap 5 pagination template.
     */
    public array $templates = [
        'default_full'   => 'CodeIgniter\Pager\Views\default_full',
        'default_simple' => 'CodeIgniter\Pager\Views\default_simple',
        'default_head'   => 'CodeIgniter\Pager\Views\default_head',
        'bootstrap_5'    => 'App\Views\pager\bootstrap_5',
    ];

    /**
     * Number of page links to show around current page.
     */
    public int $surroundCount = 2;
}
