<commit_before><?php

namespace DataTable\Request;

use DataTable\AccessorTrait;

/**
 * Class Column
 *
 * @method Column setData($data) Set column data.
 * @method Column setName($name) Set column name.
 * @method getData() Get column data.
 * @method getSearchable() Is column searchable.
 * @method getOrderable() Is column orderable.
 * @method Search getSearch() Get column search.
 *
 * @package DataTable\Request
 */
class Column
{
    use AccessorTrait;

    protected $data;
    protected $name;
    protected $searchable;
    protected $orderable;
    protected $search;

    public function __construct($column)
    {
        $this->setData($column['data'])
            ->setName($column['name'])
            ->setSearchable($column['searchable'])
            ->setOrderable($column['orderable'])
            ->setSearch($column['search']);
    }
<commit_msg>Write phpdoc<commit_after><?php

namespace DataTable\Request;

use DataTable\AccessorTrait;

/**
 * Request Column
 *
 * @method Column setData($data) Set column data.
 * @method Column setName($name) Set column name.
 * @method getData() Get column data.
 * @method getSearchable() Is column searchable.
 * @method getOrderable() Is column orderable.
 * @method Search getSearch() Get column search.
 *
 * @package DataTable\Request
 */
class Column
{
    use AccessorTrait;

    protected $data;
    protected $name;
    protected $searchable;
    protected $orderable;
    protected $search;

    /**
     * Request column constructor
     *
     * @param array $column Request column
     */
    public function __construct(array $column)
    {
        $this->setData($column['data'])
            ->setName($column['name'])
            ->setSearchable($column['searchable'])
            ->setOrderable($column['orderable'])
            ->setSearch($column['search']);
    }

{'fraction_non_alphanumeric': 0.13088155759870201, 'fraction_numerical': 0.0, 'mean_word_length': 3.1294642857142856, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '6575701', 'n_tokens_mistral': 519, 'n_tokens_neox': 515, 'n_words': 138}