<commit_before><?php

namespace App\Utils;

use Pagerfanta\Pagerfanta;
use Pagerfanta\Adapter\DoctrineORMAdapter;
use Pagerfanta\View\TwitterBootstrap3View;
use Core\Application;
use Core\DatabaseManager;

class Pager
{
    private $currentPage = 1;
    private $listPerPage = 10;
    private $linkFactory = null;

    public function setCurrentPage($page)
    {
        $this->currentPage = $page;
        return $this;
    }

    public function setListPerPage($num)
    {
        $this->listPerPage = $num;
        return $this;
    }

    public function setLinkFactoryFunction(callable $func)
    {<commit_msg>Remove not using import statement in Pager.php<commit_after><?php

namespace App\Utils;

use Pagerfanta\Pagerfanta;
use Pagerfanta\Adapter\DoctrineORMAdapter;
use Pagerfanta\View\TwitterBootstrap3View;
use Core\DatabaseManager;

class Pager
{
    private $currentPage = 1;
    private $listPerPage = 10;
    private $linkFactory = null;

    public function setCurrentPage($page)
    {
        $this->currentPage = $page;
        return $this;
    }

    public function setListPerPage($num)
    {
        $this->listPerPage = $num;
        return $this;
    }

    public function setLinkFactoryFunction(callable $func)
    {
{'fraction_non_alphanumeric': 0.09427880741337631, 'fraction_numerical': 0.0064464141821112, 'mean_word_length': 3.2389078498293515, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7348210', 'n_tokens_mistral': 404, 'n_tokens_neox': 391, 'n_words': 88}