<commit_before><?php

namespace Anonym\Components\Database\Managers;

use Anonym\Components\Database\Exceptions\FetchException;
use Anonym\Components\Database\Exceptions\QueryException;
use Anonym\Components\Database\Helpers\Pagination;
use mysqli_stmt;
use PDO;
use PDOStatement;
use Anonym\Components\Database\Base;
use mysqli;

/**
 * Class BuildManager
 * @package Anonym\Components\Database\Builders
 */
class BuildManager
{

    /**
     * Seçilen tabloyu tutar
     *
     * @var string
     */
    private $table;

    /**
     * @var \PDO
     */
    protected $connection;

    /**
     * Query metnini tutar
     *
     * @var string
     */
    private $query;

    /**
     * Sayfayı tutar
     *
     * @var int
     */
    private $page;

    /**
     * Gönderilecek parametreleri tutar
     *
     * @var array
     */
    private $params = [];

    /**
     * Base Ataması yapar
     *
     * @param Base $base
     */
    public function __construct($base)
    {

        $this->connection = $base;
    }

    /**
     * Sayfalama olayı için şuan bulunulan sayfayı atar
     *
     * @param int $page
     * @return $this
     */
    public function setPage($page = 0)
    {
        $this->page = $page;

        return $this;
    }

    /**
     * Query Sorgusunu atar
     *
     * @param string $query
     */
    public function setQuery($query)
    {

        $this->query = $query;
    }

    /**
     * parametreleri atar<commit_msg>made some updates<commit_after><?php

namespace Anonym\Components\Database\Managers;

use Anonym\Components\Database\Exceptions\FetchException;
use Anonym\Components\Database\Exceptions\QueryException;
use Anonym\Components\Database\Helpers\Pagination;
use mysqli_stmt;
use PDO;
use PDOStatement;
use Anonym\Components\Database\Base;
use mysqli;

/**
 * Class BuildManager
 * @package Anonym\Components\Database\Builders
 */
class BuildManager
{

    /**
     * Seçilen tabloyu tutar
     *
     * @var string
     */
    private $table;

    /**
     * @var \PDO
     */
    protected $connection;

    /**
     * Query metnini tutar
     *
     * @var string
     */
    private $query;


    /**
     * Gönderilecek parametreleri tutar
     *
     * @var array
     */
    private $params = [];

    /**
     * Base Ataması yapar
     *
     * @param Base $base
     */
    public function __construct($base)
    {

        $this->connection = $base;
    }


    /**
     * Query Sorgusunu atar
     *
     * @param string $query
     */
    public function setQuery($query)
    {

        $this->query = $query;
    }

    /**
     * parametreleri atar
{'fraction_non_alphanumeric': 0.11859219586840092, 'fraction_numerical': 0.00038255547054322876, 'mean_word_length': 1.9817559863169898, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '324607', 'n_tokens_mistral': 882, 'n_tokens_neox': 848, 'n_words': 175}